{"id":"GHSA-gf8q-jrpm-jvxq","aliases":[],"url":"https://o3.security/vulnerability/GHSA-gf8q-jrpm-jvxq","summary":"URL parsing in node-forge could lead to undesired behavior.","details":"### Impact\nThe regex used for the `forge.util.parseUrl` API would not properly parse certain inputs resulting in a parsed data structure that could lead to undesired behavior.\n\n### Patches\n`forge.util.parseUrl` and other very old related URL APIs were removed in 1.0.0 in favor of letting applications use the more modern WHATWG URL Standard API.\n\n### Workarounds\nEnsure code does not directly or indirectly call `forge.util.parseUrl` with untrusted input.\n\n### References\n- https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge)\n* Email us at support@digitalbazaar.com\n","published":"2022-01-08T00:22:02Z","modified":"2022-01-07T22:20:43Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"node-forge","fixedVersion":"1.0.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-gf8q-jrpm-jvxq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0122"},{"type":"WEB","url":"https://github.com/digitalbazaar/forge"},{"type":"WEB","url":"https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2022-01-07T22:20:43Z"}}