Race Condition Affecting libvips/libvips package, versions [,8.6.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.85% (77th 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-UNMANAGED-LIBVIPSLIBVIPS-2365717
  • published26 Jan 2022
  • disclosed9 Mar 2018
  • creditUnknown

Introduced: 9 Mar 2018

CVE-2018-7998  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade libvips/libvips to version 8.6.3 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. In libvips before 8.6.3, a NULL function pointer dereference vulnerability was found in the vips_region_generate function in region.c, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted image file. This occurs because of a race condition involving a failed delayed load and other worker threads.

CVSS Base Scores

version 3.1