Out-of-bounds Read Affecting github.com/pandatix/go-cvss/20 package, versions >=0.2.0 <0.4.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.11% (45th percentile)
Expand this section
NVD
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMPANDATIXGOCVSS20-3025254
  • published 16 Sep 2022
  • disclosed 16 Sep 2022
  • credit Unknown

How to fix?

Upgrade github.com/pandatix/go-cvss/20 to version 0.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read when a full CVSS v2.0 vector string is parsed using ParseVector function.

Workaround

Users who are not able to upgrade to the fixed version, 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).

References