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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/edmundhung/conform/security/advisories/GHSA-624g-8qjg-8qxf vendor-advisory
- https://github.com/edmundhung/conform/commit/4819d51b5a53fd5486fc85c17cdc148eb160e3de patch
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/edmundhung/conform/blob/59156d7115a7207fa3b6f8a70a4342a9b24c2501/packages/conform-dom/formdata.ts#L117
- github.com patch
- github.com
- github.com product