Buffer Overflow Affecting rockhopper package, versions [,0.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

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 IDSNYK-PYTHON-ROCKHOPPER-10255156
  • published28 May 2025
  • disclosed27 May 2024
  • creditUnknown

Introduced: 27 May 2024

CVE-2022-4969  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade rockhopper to version 0.2.0 or higher.

Overview

rockhopper is a package that works with ragged (rows with different lengths) 2D NumPy arrays.

Affected versions of this package are vulnerable to Buffer Overflow through the manipulation of the argument raw in the count_rows function. An attacker can execute arbitrary code by supplying crafted input to trigger the buffer overflow.

CVSS Base Scores

version 3.1