Publish GHSA-8h55-q5qq-p685

This commit is contained in:
advisory-database[bot]
2024-07-23 14:12:23 +00:00
parent 6a92338545
commit 5bc3e14acf
@@ -0,0 +1,64 @@
{
"schema_version": "1.4.0",
"id": "GHSA-8h55-q5qq-p685",
"modified": "2024-07-23T14:10:45Z",
"published": "2024-07-23T14:10:45Z",
"aliases": [
"CVE-2024-41655"
],
"summary": "(ReDoS) Regular Expression Denial of Service in tf2-item-format",
"details": "## Summary\n\nVersions of `tf2-item-format` since at least `4.2.6` are vulnerable to a Regular Expression Denial of Service (ReDoS) attack when parsing crafted user input. \n\n## Tested Versions\n\n- `5.9.13`\n- `5.8.10`\n- `5.7.0`\n- `5.6.17`\n- `4.3.5`\n- `4.2.6`\n\n### v5\nUpgrade package to `^5.9.14`\n\n### v4\nNo patch exists. Please consult the [v4 to v5 migration guide](https://github.com/danocmx/node-tf2-item-format?tab=readme-ov-file#migrating-from-v4-to-v5) to upgrade to v5.\n\nIf upgrading to v5 is not possible, fork the module repository and implement the fix detailed below.\n\n## Impact\n\nThis vulnerability can be exploited by an attacker to perform DoS attacks on any service that uses any `tf2-item-format` to parse user input.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "tf2-item-format"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.2.6"
},
{
"fixed": "5.9.14"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 5.9.13"
}
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/danocmx/node-tf2-item-format/security/advisories/GHSA-8h55-q5qq-p685"
},
{
"type": "PACKAGE",
"url": "https://github.com/danocmx/node-tf2-item-format"
}
],
"database_specific": {
"cwe_ids": [
"CWE-624"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-07-23T14:10:45Z",
"nvd_published_at": null
}
}