GSD-2022-39381
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-39381",
"description": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.",
"id": "GSD-2022-39381"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-39381"
],
"details": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.",
"id": "GSD-2022-39381",
"modified": "2023-12-13T01:19:20.617318Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39381",
"STATE": "PUBLIC",
"TITLE": "Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "MuhammaraJS",
"version": {
"version_data": [
{
"version_value": "\u003c 2.6.0"
}
]
}
}
]
},
"vendor_name": "julianhille"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-690: Unchecked Return Value to NULL Pointer Dereference"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw",
"refsource": "CONFIRM",
"url": "https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw"
},
{
"name": "https://github.com/galkahana/HummusJS/issues/293",
"refsource": "MISC",
"url": "https://github.com/galkahana/HummusJS/issues/293"
},
{
"name": "https://github.com/julianhille/MuhammaraJS/issues/191",
"refsource": "MISC",
"url": "https://github.com/julianhille/MuhammaraJS/issues/191"
},
{
"name": "https://github.com/julianhille/MuhammaraJS/pull/194",
"refsource": "MISC",
"url": "https://github.com/julianhille/MuhammaraJS/pull/194"
}
]
},
"source": {
"advisory": "GHSA-rcrx-fpjp-mfrw",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.0.111",
"affected_versions": "All versions before 1.0.111",
"cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-476",
"CWE-937"
],
"date": "2022-11-04",
"description": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus is vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.",
"fixed_versions": [
"1.0.111"
],
"identifier": "CVE-2022-39381",
"identifiers": [
"CVE-2022-39381",
"GHSA-rcrx-fpjp-mfrw"
],
"not_impacted": "All versions starting from 1.0.111",
"package_slug": "npm/hummus",
"pubdate": "2022-11-02",
"solution": "Upgrade to version 1.0.111 or above.",
"title": "Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp",
"urls": [
"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw",
"https://github.com/galkahana/HummusJS/issues/293",
"https://github.com/julianhille/MuhammaraJS/issues/191",
"https://github.com/julianhille/MuhammaraJS/pull/194",
"https://github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39381",
"https://github.com/advisories/GHSA-rcrx-fpjp-mfrw"
],
"uuid": "613408f9-7219-430e-8c22-3e00abd210bb"
},
{
"affected_range": "\u003c=2.6.0",
"affected_versions": "All versions up to 2.6.0",
"cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-476",
"CWE-937"
],
"date": "2022-11-04",
"description": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus is vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.",
"fixed_versions": [
"2.6.1"
],
"identifier": "CVE-2022-39381",
"identifiers": [
"CVE-2022-39381",
"GHSA-rcrx-fpjp-mfrw"
],
"not_impacted": "All versions after 2.6.0",
"package_slug": "npm/muhammara",
"pubdate": "2022-11-02",
"solution": "Upgrade to version 2.6.1 or above.",
"title": "Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp",
"urls": [
"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw",
"https://github.com/galkahana/HummusJS/issues/293",
"https://github.com/julianhille/MuhammaraJS/issues/191",
"https://github.com/julianhille/MuhammaraJS/pull/194",
"https://github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39381",
"https://github.com/advisories/GHSA-rcrx-fpjp-mfrw"
],
"uuid": "75868698-c776-4816-a4cb-60e7ff6d93cf"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"versionEndExcluding": "1.0.111",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"versionEndIncluding": "2.6.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39381"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-476"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw"
},
{
"name": "https://github.com/galkahana/HummusJS/issues/293",
"refsource": "MISC",
"tags": [
"Exploit",
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://github.com/galkahana/HummusJS/issues/293"
},
{
"name": "https://github.com/julianhille/MuhammaraJS/pull/194",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/julianhille/MuhammaraJS/pull/194"
},
{
"name": "https://github.com/julianhille/MuhammaraJS/issues/191",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://github.com/julianhille/MuhammaraJS/issues/191"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-11-04T02:42Z",
"publishedDate": "2022-11-02T15:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…