{"id":"CVE-2022-31051","published":"2022-06-09T20:05:12Z","modified":"2025-04-23T18:17:20Z","title":"Exposure of Sensitive Information to an Unauthorized Actor in semantic-release","vendor":"semantic-release","product":"semantic-release","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01884,"percentile":0.80024,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad","tags":["x_refsource_MISC"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI","tags":["x_refsource_MISC"]},{"url":"https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":16.0},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"semantic-release","affectedVersions":[{"vendor":"semantic-release","product":"semantic-release","versions":[">= 17.0.4, < 19.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:05:40.355746Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"semantic-release","vulnerableRanges":[">=17.0.4, <19.0.3"],"patched":["19.0.3"],"from":["GHSA-x2pg-mjhr-2m5x"],"provenance":"source"}],"summary":{"text":"The flaw is an information exposure issue in semantic-release, an open source npm package for automated version management and publishing, where secrets that should be masked can be disclosed when they contain characters that encodeURI does not encode. An attacker needs network access and high-privilege authentication, and the disclosure only occurs in execution contexts where push access to the related repository is unavailable unless the repository URL is modified to inject credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:03Z"},"euvd":{"id":"EUVD-2022-6180","exploited":false,"provenance":"source"}}