NULL Pointer Dereference Affecting samurai package, versions <1.2-r1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.75% (50th 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-ALPINE314-SAMURAI-1307913
  • published5 May 2021
  • disclosed29 Apr 2021

Introduced: 29 Apr 2021

CVE-2021-30218  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.14 samurai to version 1.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samurai package and not the samurai package as distributed by Alpine. See How to fix? for Alpine:3.14 relevant fixed versions and status.

samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.

CVSS Base Scores

version 3.1