Skip to main content
← All vulnerabilities
CVE-2022-21190GHSA-JJF5-WX3J-3FV7SNYK-JS-CONVICT-2774757

Prototype Pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.3
None on Exploit-DB, Metasploit or GitHub

Summary

This affects the package convict before 6.2.3. This is a bypass of CVE-2022-22143. The fix introduced, relies on the startsWith method and does not prevent the vulnerability: before splitting the path, it checks if it starts with proto or this.constructor.prototype. To bypass this check it's possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.proto or foo.this.constructor.prototype.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a convict

    fixed in 6.2.3

  • convictnpm

    fixed in 6.2.3

References 5

snyk.io

GitHub · mozilla/node-convict

gist.github.com