Path Traversal in @backstage/plugin-scaffolder-backend
cve-program · CVE-2021-41151
PublishedBackstage is an open platform for building developer portals. In affected versions A malicious actor could read sensitive files from the environment where Scaffolder Tasks are run. The attack is executed by crafting a custom Scaffolder template with a `github:publish:pull-request` action and a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`.
Read the publisher's advisoryeuvd · EUVD-2021-2243
PublishedBackstage is an open platform for building developer portals. In affected versions A malicious actor could read sensitive files from the environment where Scaffolder Tasks are run. The attack is executed by crafting a custom Scaffolder template with a `github:publish:pull-request` action and a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`.
Read the publisher's advisorynvd · CVE-2021-41151
PublishedBackstage is an open platform for building developer portals. In affected versions A malicious actor could read sensitive files from the environment where Scaffolder Tasks are run. The attack is executed by crafting a custom Scaffolder template with a `github:publish:pull-request` action and a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`.
Read the publisher's advisoryosv · GHSA-pvv8-8fx9-h673
Published### Impact A malicious actor could read sensitive files from the environment where Scaffolder tasks are run. The attack is executed by crafting a custom Scaffolder template with a `publish:github:pull-request` action using a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. ### Patches The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`. ### For more information If you have any questions or comments about this advisory: * Open an issue in the [Backstage repository](https://github.com/backstage/backstage) * Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-41151 · CVE overview and exploitation status
cve-program · CVE-2021-41151
- https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673
- https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006
euvd · EUVD-2021-2243
- https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673
- https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006
nvd · CVE-2021-41151
- https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006
- https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673
osv · GHSA-pvv8-8fx9-h673
- https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673
- https://nvd.nist.gov/vuln/detail/CVE-2021-41151
- https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/release-2021-10-16
Related changes
Linked by CVE identifierNo related changes are available here.