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 applicationsLearn about Access Restriction Bypass vulnerabilities in an interactive lesson.
Start learningUpgrade xmlhttprequest-ssl
to version 1.6.1 or higher.
xmlhttprequest-ssl is a fork of xmlhttprequest
.
Affected versions of this package are vulnerable to Access Restriction Bypass. The package disables SSL certificate validation by default, because rejectUnauthorized
(when the property exists but is undefined) is considered to be false within the https.request
function of Node.js. In other words, no certificate is ever rejected.
const XMLHttpRequest = require('xmlhttprequest-ssl');
var xhr = new XMLHttpRequest(); /* pass empty object in version 1.5.4 to work around bug */
xhr.open("GET", "https://self-signed.badssl.com/");
xhr.addEventListener('readystatechange', () => console.log('ready state:', xhr.status));
xhr.addEventListener('loadend', loadend);
function loadend()
{
console.log('loadend:', xhr);
if (xhr.status === 0 && xhr.statusText.code === 'DEPTH_ZERO_SELF_SIGNED_CERT')
console.log('test passed: self-signed cert rejected');
else
console.log('*** test failed: self-signed cert used to retrieve content');
}
xhr.send();