CVE-2018-16396 Affecting rubygem23-psych package, versions <0:2.1.0.1-1.20.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.1% (85th 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-AMZN201803-RUBYGEM23PSYCH-1716842
  • published27 Sept 2021
  • disclosed16 Nov 2018

Introduced: 16 Nov 2018

CVE-2018-16396  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 rubygem23-psych to version 0:2.1.0.1-1.20.amzn1 or higher.
This issue was patched in ALAS-2018-1113.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem23-psych package and not the rubygem23-psych package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.