{"cve":"CVE-2022-39213","nvd":{"published":"2022-09-15T22:15:11.463","modified":"2026-06-17T04:57:55.683","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-125"],"references":["https://github.com/pandatix/go-cvss/blob/master/SECURITY.md","https://github.com/pandatix/go-cvss/commit/d9d478ff0c13b8b09ace030db9262f3c2fe031f4","https://github.com/pandatix/go-cvss/security/advisories/GHSA-xhmf-mmv2-4hhx","https://github.com/pandatix/go-cvss/blob/master/SECURITY.md","https://github.com/pandatix/go-cvss/commit/d9d478ff0c13b8b09ace030db9262f3c2fe031f4"],"products":["pandatix:go-cvss"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-39213","score":0.01725,"percentile":0.77545,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xhmf-mmv2-4hhx","url":"https://osv.dev/vulnerability/GHSA-xhmf-mmv2-4hhx","summary":"Go-CVSS has Out-of-bounds Read vulnerability in ParseVector function","modified":"2023-11-08T04:10:15.059497Z","packages":[{"ecosystem":"Go","name":"github.com/pandatix/go-cvss","purl":"pkg:golang/github.com/pandatix/go-cvss","ranges":[">=0.2.0 <0.4.0"],"fixed":["0.4.0"]}]},{"id":"GO-2022-1002","url":"https://osv.dev/vulnerability/GO-2022-1002","summary":"Panic in github.com/pandatix/go-cvss","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/pandatix/go-cvss","purl":"pkg:golang/github.com/pandatix/go-cvss","ranges":[">=0.2.0 <0.4.0"],"fixed":["0.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}