Packages / semantic-release / Security
Exposure of Sensitive Information to an Unauthorized Actor in semantic-release
Affected releases · semantic-release
- 19.x19.0.0 – 19.0.2Fixed in 19.0.3
- 18.x and older17.0.4 – 18.0.1No fix, no longer updated
On 19.x, the newest line:
npm install semantic-release@19.0.3Every release on a timeline
Not affected
26.0.0 – 26.0.1
2 releases, latest
Affected
19.0.0 – 19.0.2
3 releases
Fixed
19.0.3 – 19.0.5
3 releases
Affected
18.0.0 – 18.0.1
2 releases
Not affected
17.0.0 – 17.0.3
4 releases
Affected
17.0.4 – 17.4.7
31 releases
What happens
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:
Open a discussion in semantic-release discussions
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.