#VU65358 Information disclosure in semantic-release - CVE-2022-31051
Published: July 15, 2022
semantic-release
semantic-release
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to 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. A remote attacker can gain unauthorized access to sensitive information on the system.
Remediation
External links
- https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x
- https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI
- https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3