CVE-2022-31051

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

Description

semantic-release is an open source npm package for automated version management and package publishing. In affected versions 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. Users are advised to upgrade. Users unable to upgrade should ensure that secrets that do not contain characters that are excluded from encoding with `encodeURI` when included in a URL are already masked properly.

Category

4.4
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.53%
Third-Party Advisory mozilla.org Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com
Affected: semantic-release semantic-release
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-31051?
CVE-2022-31051 has been scored as a medium severity vulnerability.
How to fix CVE-2022-31051?
To fix CVE-2022-31051, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-31051 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-31051 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-31051?
CVE-2022-31051 affects semantic-release semantic-release.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.