Deserialization of Untrusted Data Affecting request-1277 package, versions <0.1.89-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
2.1% (90th 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 Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-REQUEST1277-8399874
  • published20 Nov 2024
  • disclosed1 Dec 2022

Introduced: 1 Dec 2022

CVE-2022-1471  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Chainguard request-1277 to version 0.1.89-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream request-1277 package and not the request-1277 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

CVSS Scores

version 3.1