Vulnerability · Published Apr 23, 2024 · Assigned by GitHub_M

CVE-2024-32866Conform contains Prototype Pollution Vulnerability in `parseWith...` function

High 8.6

In plain English

A high-severity prototype pollution in conform from edmundhung. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.7%top 45.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Conform, a type-safe form validation library, allows the parsing of nested objects in the form of `object.property`. Due to an improper implementation of this feature in versions prior to 1.1.1, an attacker can exploit the feature to trigger prototype pollution by passing a crafted input to `parseWith...` functions. Applications that use conform for server-side validation of form data or URL parameters are affected by this vulnerability. Version 1.1.1 contains a patch for the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@conform-to/dom1.1.1GHSA-624g-8qjg-8qxf
npm@conform-to/dom0.9.2GHSA-624g-8qjg-8qxf
npm@conform-to/yup1.1.1GHSA-624g-8qjg-8qxf
npm@conform-to/yup0.9.2GHSA-624g-8qjg-8qxf
npm@conform-to/zod1.1.1GHSA-624g-8qjg-8qxf
npm@conform-to/zod0.9.2GHSA-624g-8qjg-8qxf

Affected products (as reported)

VendorProductVersions
edmundhung conform < 1.1.1

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

References