{"id":"CVE-2024-26150","state":"PUBLISHED","title":"`@backstage/backend-common` vulnerable to path traversal through symlinks","description":"`@backstage/backend-common` is a common functionality library for backends for Backstage, an open platform for building developer portals. In `@backstage/backend-common` prior to versions 0.21.1, 0.20.2, and 0.19.10, paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. This issue is patched in `@backstage/backend-common` versions 0.21.1, 0.20.2, and 0.19.10.","publishedAt":"2024-02-23T15:46:35.731Z","updatedAt":"2024-08-01T23:59:32.589Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["backstage backstage"],"affected":[{"vendor":"backstage","product":"backstage","versions":[{"version":"= 0.21.0","status":"affected"},{"version":"< 0.19.10","status":"affected"},{"version":">= 0.20.0, < 0.20.2","status":"affected"}]}],"references":["https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26150.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-26150","state":"PUBLISHED","datePublished":"2024-02-23T15:46:35.731Z","dateUpdated":"2024-08-01T23:59:32.589Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-14T17:40:03.690Z"},"containers":{"cna":{"title":"`@backstage/backend-common` vulnerable to path traversal through symlinks","descriptions":[{"lang":"en","value":"`@backstage/backend-common` is a common functionality library for backends for Backstage, an open platform for building developer portals. In `@backstage/backend-common` prior to versions 0.21.1, 0.20.2, and 0.19.10, paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. This issue is patched in `@backstage/backend-common` versions 0.21.1, 0.20.2, and 0.19.10."}],"affected":[{"vendor":"backstage","product":"backstage","versions":[{"version":"= 0.21.0","status":"affected"},{"version":"< 0.19.10","status":"affected"},{"version":">= 0.20.0, < 0.20.2","status":"affected"}]}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","name":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","name":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","name":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","tags":["x_refsource_MISC"]},{"url":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871","name":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-23T15:46:35.731Z"},"source":{"advisory":"GHSA-2fc9-xpp8-2g9h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26150","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-02-23T22:34:48.476857Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:48:21.482Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","name":"https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","name":"https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","name":"https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871","name":"https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:59:32.589Z"}}]}}}