{"id":"CVE-2022-31051","aliases":["EUVD-2022-6180","GHSA-x2pg-mjhr-2m5x","RHSA-2022:5555"],"status":"published","title":"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.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01798,"percentile":0.78756,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2022-06-09T20:05:12Z","modified":"2026-10-28T02:30:22Z","fixes":[{"ecosystem":"npm","package":"semantic-release","fixed_in":["19.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"semantic-release","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.0.4"},{"fixed":"19.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"semantic-release","ranges":[{"type":"SEMVER","events":[{"introduced":"17.0.4"},{"fixed":"19.0.3"}]}]},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-web-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.9.0-1.el8ev"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-dependencies","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.5.2-1.el8ev"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"apache-commons-compress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.21-1.2.el8ev"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"apache-commons-compress-javadoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.21-1.2.el8ev"}]}],"bundled":9}],"products":[{"vendor":"semantic-release","product":"semantic-release"},{"vendor":"semantic-release_project","product":"semantic-release"}],"references":[{"url":"https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","article"]},{"url":"https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/semantic-release/semantic-release/pull/2449","tags":["web"]},{"url":"https://github.com/semantic-release/semantic-release/pull/2459","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31051","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x2pg-mjhr-2m5x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31051.json","tags":["advisory"]},{"url":"https://github.com/semantic-release/semantic-release","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2022:5555","tags":["advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/technical_notes","tags":["article"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1663217","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1782077","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1849045","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1852308","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1958032","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1966615","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1976607","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1981895","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1981900","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1981903","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1981909","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1994144","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2001574","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2001923","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2006625","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2007557","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2030293","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2068270","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2069414","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2070045","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2072626","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2081241","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2081559","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2089856","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2092885","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2093795","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2097414","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2099650","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2105296","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_5555.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3807","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3807","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3807","tags":["advisory"]},{"url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-22096","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2034584","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22096","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22096","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-33623","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33623","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33623","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-35515","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-35515","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35515","tags":["advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/07/13/1","tags":["article"]},{"url":"https://commons.apache.org/proper/commons-compress/security-reports.html","tags":["article"]},{"url":"https://lists.apache.org/thread.html/r19ebfd71770ec0617a9ea180e321ef927b3fefb4c81ec5d1902d20ab%40%3Cuser.commons.apache.org%3E","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-35516","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-35516","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35516","tags":["advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/07/13/2","tags":["article"]},{"url":"https://lists.apache.org/thread.html/rf68442d67eb166f4b6cf0bbbe6c7f99098c12954f37332073c9822ca%40%3Cuser.commons.apache.org%3E","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-35517","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-35517","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35517","tags":["advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/07/13/3","tags":["article"]},{"url":"https://lists.apache.org/thread.html/r605d906b710b95f1bbe0036a53ac6968f667f2c249b6fbabada9a940%40%3Cuser.commons.apache.org%3E","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-36090","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-36090","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36090","tags":["advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/07/13/4","tags":["article"]},{"url":"https://lists.apache.org/thread.html/rc4134026d7d7b053d4f9f2205531122732405012c8804fd850a9b26f%40%3Cuser.commons.apache.org%3E","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-22950","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-22950","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22950","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-31051","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31051","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-31051","title":"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.","status":"published","published":"2022-06-09T20:05:12Z","modified":"2025-04-23T18:17:20.711Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6180","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.","status":"published","published":"2022-06-09T20:05:12Z","modified":"2025-04-23T18:17:20Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:08.95736Z"}],"ghsa":[{"id":"GHSA-x2pg-mjhr-2m5x","title":"Exposure of Sensitive Information to an Unauthorized Actor in semantic-release","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nSecrets that would normally be masked by semantic-release can be accidentally disclosed if they contain characters that are excluded from uri encoding by [encodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nFixed in 19.0.3\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nSecrets that do not contain characters that are excluded from encoding with `encodeURI` when included in a URL are already masked properly.\n\n### References\n_Are there any links users can visit to find out more?_\n* https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3\n* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a discussion in [semantic-release discussions](https://github.com/semantic-release/semantic-release/discussions)\n","status":"published","published":"2022-06-09T23:51:25Z","modified":"2023-01-27T05:03:28Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2022-31051","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.","status":"published","published":"2022-06-09T20:15:08.4Z","modified":"2026-06-17T04:44:41.47Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"CVE-2022-31051","title":"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.","status":"published","published":"2022-06-09T20:05:12Z","modified":"2026-10-28T02:30:22.641605591Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-x2pg-mjhr-2m5x","title":"Exposure of Sensitive Information to an Unauthorized Actor in semantic-release","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nSecrets that would normally be masked by semantic-release can be accidentally disclosed if they contain characters that are excluded from uri encoding by [encodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nFixed in 19.0.3\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nSecrets that do not contain characters that are excluded from encoding with `encodeURI` when included in a URL are already masked properly.\n\n### References\n_Are there any links users can visit to find out more?_\n* https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3\n* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a discussion in [semantic-release discussions](https://github.com/semantic-release/semantic-release/discussions)\n","status":"published","published":"2022-06-09T23:51:25Z","modified":"2023-11-08T04:09:24.253769Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"RHSA-2022:5555","title":"Red Hat Security Advisory: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and update","status":"published","published":"2024-09-20T15:11:25Z","modified":"2026-10-14T10:02:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:09.62945Z"}]}}
