CVE-2022-31051
Semantic-Release URI Encoding Vulnerability (Information Disclosure)
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.
INFO
Published Date :
June 9, 2022, 8:15 p.m.
Last Modified :
June 17, 2022, 2:48 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31051
.
URL | Resource |
---|---|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI | Third Party Advisory |
https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad | Patch Third Party Advisory |
https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3 | Release Notes Third Party Advisory |
https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31051
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31051
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 17, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI No Types Assigned https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI Third Party Advisory Changed Reference Type https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad No Types Assigned https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad Patch, Third Party Advisory Changed Reference Type https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3 No Types Assigned https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3 Release Notes, Third Party Advisory Changed Reference Type https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x No Types Assigned https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:semantic-release_project:semantic-release:*:*:*:*:*:*:*:* versions from (including) 17.0.4 up to (excluding) 19.0.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31051
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31051
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.22 }} 0.01%
score
0.59133
percentile