Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xYzR2LXhxMm0tNjV3Y84AA_7x
Unexpected visibility of environment variable configurations in @backstage/plugin-app-backend
Impact
Configuration supplied through APP_CONFIG_*
environment variables, for example APP_CONFIG_backend_listen_port=7007
, where unexpectedly ignoring the visibility defined in configuration schema. This occurred even if the configuration schema specified that they should have backend or secret visibility. This was an intended feature of the APP_CONFIG_*
way of supplying configuration, but now clearly goes against the expected behavior of the configuration system. This behavior leads to a risk of potentially exposing sensitive configuration details intended to remain private or restricted to backend processes.
Patches
The issue has been resolved in version 0.3.75
of the @backstage/plugin-app-backend
package. Users are encouraged to upgrade to this version to mitigate the vulnerability.
Workarounds
As a temporary measure, avoid supplying secrets using the APP_CONFIG_
configuration pattern. Consider alternative methods for setting secrets, such as the environment substitution available for Backstage configuration.
References
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository
Visit our Discord, linked to in Backstage README
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xYzR2LXhxMm0tNjV3Y84AA_7x
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 4 months ago
CVSS Score: 5.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS Percentage: 0.00043
EPSS Percentile: 0.10511
Identifiers: GHSA-qc4v-xq2m-65wc, CVE-2024-47762
References:
- https://github.com/backstage/backstage/security/advisories/GHSA-qc4v-xq2m-65wc
- https://github.com/backstage/backstage/commit/323e6129073c5cb4cc106a1239eaec31a129554f
- https://nvd.nist.gov/vuln/detail/CVE-2024-47762
- https://github.com/advisories/GHSA-qc4v-xq2m-65wc
Blast Radius: 15.1
Affected Packages
npm:@backstage/plugin-app-backend
Dependent packages: 2Dependent repositories: 404
Downloads: 131,781 last month
Affected Version Ranges: < 0.3.75
Fixed in: 0.3.75
All affected versions: 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24, 0.3.25, 0.3.26, 0.3.27, 0.3.28, 0.3.29, 0.3.30, 0.3.31, 0.3.32, 0.3.33, 0.3.34, 0.3.35, 0.3.36, 0.3.37, 0.3.38, 0.3.39, 0.3.40, 0.3.41, 0.3.42, 0.3.43, 0.3.44, 0.3.45, 0.3.46, 0.3.47, 0.3.48, 0.3.49, 0.3.50, 0.3.51, 0.3.52, 0.3.53, 0.3.54, 0.3.55, 0.3.56, 0.3.57, 0.3.58, 0.3.59, 0.3.60, 0.3.61, 0.3.62, 0.3.63, 0.3.64, 0.3.65, 0.3.66, 0.3.67, 0.3.68, 0.3.69, 0.3.70, 0.3.71, 0.3.72, 0.3.73, 0.3.74
All unaffected versions: 0.3.75, 0.3.76, 0.4.0, 0.4.1, 0.4.2, 0.4.3