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

Exploit Maturity
Not Defined
EPSS
0.06% (29th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • 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 Scores

version 3.1