joi before 17.13.8 and 18.2.9 Prototype Pollution via messages
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.3epss 0.3%
exploitation probability
0.3%top 82% of all CVEs
observed exploitation
nono source reports it
joi before versions 17.13.8 and 18.2.9 contains a prototype pollution vulnerability in the messages compilation function that accepts __proto__ as an error code. Attackers can supply __proto__ keys in custom messages to replace the returned object's prototype, breaking downstream code relying on Object.prototype methods.
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Affected products
hapijs · joiReferences
https://github.com/hapijs/joihttps://github.com/hapijs/joi/blob/v18.2.8/lib/messages.jshttps://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afbhttps://github.com/hapijs/joi/issues/3150https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages