{"id":"CVE-2022-39213","published":"2022-09-15T21:45:12Z","modified":"2025-04-22T17:21:23Z","title":"Out-of-bounds Read in go-cvss","vendor":"pandatix","product":"go-cvss","tier":"tail","description":{"text":"go-cvss is a Go module to manipulate Common Vulnerability Scoring System (CVSS). In affected versions when a full CVSS v2.0 vector string is parsed using `ParseVector`, an Out-of-Bounds Read is possible due to a lack of tests. The Go module will then panic. The problem is patched in tag `v0.4.0`, by the commit `d9d478ff0c13b8b09ace030db9262f3c2fe031f4`. Users are advised to upgrade. Users unable to upgrade may avoid this issue by parsing only CVSS v2.0 vector strings that do not have all attributes defined (e.g. `AV:N/AC:L/Au:N/C:P/I:P/A:C/E:U/RL:OF/RC:C/CDP:MH/TD:H/CR:M/IR:M/AR:M`). As stated in [SECURITY.md](https://github.com/pandatix/go-cvss/blob/master/SECURITY.md), the CPE v2.3 to refer to this Go module is `cpe:2.3:a:pandatix:go_cvss:*:*:*:*:*:*:*:*`. The entry has already been requested to the NVD CPE dictionary.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0184,"percentile":0.79513,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/pandatix/go-cvss/security/advisories/GHSA-xhmf-mmv2-4hhx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pandatix/go-cvss/commit/d9d478ff0c13b8b09ace030db9262f3c2fe031f4","tags":["x_refsource_MISC"]},{"url":"https://github.com/pandatix/go-cvss/blob/master/SECURITY.md","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":15.9},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pandatix","affectedVersions":[{"vendor":"pandatix","product":"go-cvss","versions":[">= 0.2.0, < 0.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:39:29.758565Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/pandatix/go-cvss","vulnerableRanges":[">=0.2.0, <0.4.0"],"patched":["0.4.0"],"from":["GHSA-xhmf-mmv2-4hhx","GO-2022-1002"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-6978","exploited":false,"provenance":"source"}}