cve.bz

CVE-2022-31051 semantic-release project semantic-release

7.5 highEPSS 1.8%Fix available

High (7.5) in semantic-release project semantic-release. EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in semantic-release 19.0.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31051 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31051?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31051?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31051 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
semantic-release_project:semantic-releasefrom 17.0.4 before 19.0.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x2pg-mjhr-2m5xnpmsemantic-release>=17.0.4 <19.0.319.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatrhev_manager:4.4:el8apache-commons-compress, apache-commons-compress-javadoc0:1.21-1.2.el8evRHSA-2022:5555
Red Hatrhev_manager:4.4:el8ovirt-dependencies0:4.5.2-1.el8evRHSA-2022:5555
Red Hatrhev_manager:4.4:el8ovirt-web-ui0:1.9.0-1.el8evRHSA-2022:5555

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Users should ensure that secrets that do not contain characters that are excluded from encoding with `encodeURI` when included in a URL that is already masked properly.

ProductPackageStateAdvisory
Red Hat Virtualization Engine 4.4ovirt-web-ui-0:1.9.0-1.el8evFixed 2022-07-14RHSA-2022:5555
Red Hat Directory Server 11redhat-ds:11/389-ds-baseNot affected
Red Hat Enterprise Linux 8389-ds:1.4/389-ds-baseNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-appstreamNot affected
Red Hat Enterprise Linux 8container-tools:rhel8/cockpit-podmanNot affected
Red Hat Virtualization 4ovirt-engine-ui-extensionsAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31051.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON