Skip to content

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

HighCVSS 8.6 EPSS 0.73%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
edmundhung conform = < 1.1.1; All versions No fix listed No fix yet
conform-to @conform-to/dom(npm) < 0.9.2; >= 1.0.0, < 1.1.1; >= 1.0.0, <= 1.1.0 0.9.2, 1.1.1 Fixed
conform-to @conform-to/yup(npm) < 0.9.2; >= 1.0.0, < 1.1.1; >= 1.0.0, <= 1.1.0 0.9.2, 1.1.1 Fixed
conform-to @conform-to/zod(npm) < 0.9.2; >= 1.0.0, < 1.1.1; >= 1.0.0, <= 1.1.0 0.9.2, 1.1.1 Fixed

Affected products

ProductAffected versionsFixed in
conform-to @conform-to/dom(npm) >= 1.0.0, <= 1.1.0 No fix listed
conform-to @conform-to/zod(npm) >= 1.0.0, <= 1.1.0 No fix listed
conform-to @conform-to/yup(npm) >= 1.0.0, <= 1.1.0 No fix listed
conform-to @conform-to/zod(npm) < 0.9.2 0.9.2
conform-to @conform-to/yup(npm) < 0.9.2 0.9.2
conform-to @conform-to/dom(npm) < 0.9.2 0.9.2
edmundhung conform = < 1.1.1 No fix listed
edmundhung conform All versions No fix listed
conform-to @conform-to/dom(npm) >= 1.0.0, < 1.1.1 1.1.1
conform-to @conform-to/zod(npm) >= 1.0.0, < 1.1.1 1.1.1
conform-to @conform-to/yup(npm) >= 1.0.0, < 1.1.1 1.1.1

References