Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS14MnBnLW1qaHItMm01eM4AAreR

Exposure of Sensitive Information to an Unauthorized Actor in semantic-release

Impact

What kind of vulnerability is it? Who is impacted?

Secrets that would normally be masked by semantic-release can be accidentally disclosed if they contain characters that are excluded from uri encoding by encodeURI. Occurrence is further limited to execution contexts where push access to the related repository is not available without modifying the repository url to inject credentials.

Patches

Has the problem been patched? What versions should users upgrade to?

Fixed in 19.0.3

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Secrets that do not contain characters that are excluded from encoding with encodeURI when included in a URL are already masked properly.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-x2pg-mjhr-2m5x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14MnBnLW1qaHItMm01eM4AAreR
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


CVSS Score: 4.4
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Identifiers: GHSA-x2pg-mjhr-2m5x, CVE-2022-31051
References: Repository: https://github.com/semantic-release/semantic-release
Blast Radius: 22.6

Affected Packages

npm:semantic-release
Dependent packages: 35,747
Dependent repositories: 135,472
Downloads: 4,632,197 last month
Affected Version Ranges: >= 17.0.4, < 19.0.3
Fixed in: 19.0.3
All affected versions: 17.0.4, 17.0.5, 17.0.6, 17.0.7, 17.0.8, 17.1.0, 17.1.1, 17.1.2, 17.2.0, 17.2.1, 17.2.2, 17.2.3, 17.2.4, 17.3.0, 17.3.1, 17.3.2, 17.3.3, 17.3.4, 17.3.5, 17.3.6, 17.3.7, 17.3.8, 17.3.9, 17.4.0, 17.4.1, 17.4.2, 17.4.3, 17.4.4, 17.4.5, 17.4.6, 17.4.7, 18.0.0, 18.0.1, 19.0.0, 19.0.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, 15.6.2, 15.6.3, 15.6.4, 15.6.5, 15.6.6, 15.7.0, 15.7.1, 15.7.2, 15.8.0, 15.8.1, 15.9.0, 15.9.1, 15.9.2, 15.9.3, 15.9.4, 15.9.5, 15.9.6, 15.9.7, 15.9.8, 15.9.9, 15.9.10, 15.9.11, 15.9.12, 15.9.13, 15.9.14, 15.9.15, 15.9.16, 15.9.17, 15.10.0, 15.10.1, 15.10.2, 15.10.3, 15.10.4, 15.10.5, 15.10.6, 15.10.7, 15.10.8, 15.11.0, 15.12.0, 15.12.1, 15.12.2, 15.12.3, 15.12.4, 15.12.5, 15.13.0, 15.13.1, 15.13.2, 15.13.3, 15.13.4, 15.13.5, 15.13.6, 15.13.7, 15.13.8, 15.13.9, 15.13.10, 15.13.11, 15.13.12, 15.13.13, 15.13.14, 15.13.15, 15.13.16, 15.13.17, 15.13.18, 15.13.19, 15.13.20, 15.13.21, 15.13.22, 15.13.23, 15.13.24, 15.13.25, 15.13.26, 15.13.27, 15.13.28, 15.13.29, 15.13.30, 15.13.31, 15.13.32, 15.14.0, 16.0.0, 16.0.1, 16.0.2, 16.0.3, 16.0.4, 17.0.0, 17.0.1, 17.0.2, 17.0.3, 19.0.3, 19.0.4, 19.0.5, 20.0.0, 20.0.1, 20.0.2, 20.0.3, 20.0.4, 20.1.0, 20.1.1, 20.1.2, 20.1.3, 21.0.0, 21.0.1, 21.0.2, 21.0.3, 21.0.4, 21.0.5, 21.0.6, 21.0.7, 21.0.8, 21.0.9, 21.1.0, 21.1.1, 21.1.2, 22.0.0, 22.0.1, 22.0.2, 22.0.3, 22.0.4, 22.0.5, 22.0.6, 22.0.7, 22.0.8, 22.0.9, 22.0.10, 22.0.11, 22.0.12, 23.0.0, 23.0.1, 23.0.2, 23.0.3, 23.0.4, 23.0.5, 23.0.6, 23.0.7, 23.0.8, 23.1.0, 23.1.1