Backstage
Backstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml
Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by remote code execution via crafted markdown_extensions in techdocs mkdocs.yml. An authenticated user who can register catalog entities can provide a crafted mkdocs.yml causing arbitrary OS command execution on the TechDocs build host when the docs are built. This issue is fixed in versions 1.14.6 and 1.15.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.50.5
- >= 1.51.0-next.0, < 1.54.6
Fixed in 1.50.5, 1.54.6
- < 1.14.6
- >= 1.15.0, < 1.15.4
Fixed in 1.14.6, 1.15.4
Mitigation
Upgrade backstage to 1.50.5 or 1.54.6 or later.
Upgrade plugin-techdocs-node to 1.14.6 or 1.15.4 or later.
References
- Vendor advisory github.com/backstage/backstage/security/adviso…
- Patch github.com/backstage/backstage/commit/02cd7cdb…
- Patch github.com/backstage/backstage/commit/a900a995…
2 more
- Release notes github.com/backstage/backstage/releases/tag/v1…
- Release notes github.com/backstage/backstage/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.