CVE-2024-45816 Storage bucket Directory Traversal in @backstage/plugin-techdocs-backend

Medium 6.5 Published Updated

Attackers can access unauthorized files in S3 or GCS buckets and bypass permission checks when using specific storage providers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45816?

CVE-2024-45816 is a medium-severity path traversal vulnerability in Linuxfoundation Backstage, published on 17 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Backstage is an open framework for building developer portals. When using the AWS S3 or GCS storage provider for TechDocs it is possible to access content in the entire storage bucket. This can leak contents of the bucket that are not intended to be accessible, as well as bypass permission checks in Backstage. This has been fixed in the 1.10.13 release of the `@backstage/plugin-techdocs-backend` package. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2024-45816?

2 open source packages ship an affected version, including @backstage/plugin-techdocs-backend. It affects 1 product.

PackageAffectedFixed in
@backstage/plugin-techdocs-backend npmAll versions1.10.13
@backstage/plugin-techdocs-backend npmAll versions1.10.13

Products include Linuxfoundation Backstage.

How do I fix CVE-2024-45816?

Upgrade @backstage/plugin-techdocs-backend to 1.10.13 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-45816 being exploited?

There is no known exploitation of CVE-2024-45816 in the wild and no public exploit code.

All Linuxfoundation Backstage vulnerabilities

Sources

Also known as GHSA-39v3-f278-vj3g.

Is CVE-2024-45816 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free