7.5

CVE-2022-31051: Exposure of Sensitive Information to an Unauthorized Actor in semantic-release

Modified
AliasesGHSA-x2pg-mjhr-2m5x
Published 09-06-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-31051 is a high (CVSS 7.5) vulnerability in semantic-release_project semantic-release. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 79.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 09-06-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.80%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.80% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • semantic-release≥ 17.0.4, < 19.0.3
Semantic-release1 product
Semantic-release_project1 product

3 vendors · 3 products

References

8 links