The verify function in Encryption/Symmetric.php in Malcolm Fell jwt before 1.0.3 does not use a timing-safe function for hash comparison, which allows attackers to spoof signatures via a timing attack.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:emarref:jwt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.0.2"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "1.0.3",
"range": [
{
"fixed": "79f563750ff90dabd4fa677c4b4e5ec9ed52d9b4"
}
],
"source": "REFERENCES_TAG"
}
]
}