GSD-2022-36231
Vulnerability from gsd - Updated: 2023-02-24 00:00Details
pdf_info 0.5.3 is vulnerable to Command Execution. An attacker using
a specially crafted payload may execute OS commands by using command chaining because
during object initalization there is no validation performed and the user provided
path is used.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-36231",
"description": "pdf_info 0.5.3 is vulnerable to Command Execution.",
"id": "GSD-2022-36231"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "pdf_info",
"purl": "pkg:gem/pdf_info"
}
}
],
"aliases": [
"CVE-2022-36231",
"GHSA-9fh3-j99m-f4v7"
],
"details": "pdf_info 0.5.3 is vulnerable to Command Execution. An attacker using\na specially crafted payload may execute OS commands by using command chaining because\nduring object initalization there is no validation performed and the user provided\npath is used.\n",
"id": "GSD-2022-36231",
"modified": "2023-02-24T00:00:00.000Z",
"published": "2023-02-24T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/affix/CVE-2022-36231"
},
{
"type": "WEB",
"url": "https://github.com/newspaperclub/pdf_info/issues/16"
},
{
"type": "WEB",
"url": "https://github.com/newspaperclub/pdf_info/pull/15"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 9.8,
"type": "CVSS_V3"
}
],
"summary": "Code injection in pdf_info"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-36231",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rubygems.org/gems/pdf_info",
"refsource": "MISC",
"url": "https://rubygems.org/gems/pdf_info"
},
{
"name": "https://github.com/affix/CVE-2022-36231",
"refsource": "MISC",
"url": "https://github.com/affix/CVE-2022-36231"
},
{
"name": "https://github.com/newspaperclub/pdf_info/pull/15",
"refsource": "MISC",
"url": "https://github.com/newspaperclub/pdf_info/pull/15"
},
{
"name": "https://github.com/newspaperclub/pdf_info/issues/16",
"refsource": "MISC",
"url": "https://github.com/newspaperclub/pdf_info/issues/16"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2022-36231",
"cvss_v3": 9.8,
"date": "2023-02-24",
"description": "pdf_info 0.5.3 is vulnerable to Command Execution. An attacker using\na specially crafted payload may execute OS commands by using command chaining because\nduring object initalization there is no validation performed and the user provided\npath is used.\n",
"gem": "pdf_info",
"ghsa": "9fh3-j99m-f4v7",
"related": {
"url": [
"https://github.com/newspaperclub/pdf_info/issues/16",
"https://github.com/newspaperclub/pdf_info/pull/15"
]
},
"title": "Code injection in pdf_info",
"url": "https://github.com/affix/CVE-2022-36231"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "=0.5.3",
"affected_versions": "Version 0.5.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2023-03-03",
"description": "pdf_info 0.5.3 is vulnerable to Command Execution.",
"fixed_versions": [],
"identifier": "CVE-2022-36231",
"identifiers": [
"CVE-2022-36231",
"GHSA-9fh3-j99m-f4v7"
],
"not_impacted": "",
"package_slug": "gem/pdf_info",
"pubdate": "2023-02-23",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-36231",
"https://github.com/affix/CVE-2022-36231",
"https://rubygems.org/gems/pdf_info",
"https://github.com/advisories/GHSA-9fh3-j99m-f4v7"
],
"uuid": "2b29d2f1-5759-4b0f-922d-cbe19dafa8f7"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:newspaperclub:pdf_info:0.5.3:*:*:*:*:ruby:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-36231"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rubygems.org/gems/pdf_info",
"refsource": "MISC",
"tags": [
"Product"
],
"url": "https://rubygems.org/gems/pdf_info"
},
{
"name": "https://github.com/affix/CVE-2022-36231",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://github.com/affix/CVE-2022-36231"
},
{
"name": "https://github.com/newspaperclub/pdf_info/pull/15",
"refsource": "MISC",
"tags": [
"Patch"
],
"url": "https://github.com/newspaperclub/pdf_info/pull/15"
},
{
"name": "https://github.com/newspaperclub/pdf_info/issues/16",
"refsource": "MISC",
"tags": [
"Patch"
],
"url": "https://github.com/newspaperclub/pdf_info/issues/16"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-03-03T19:28Z",
"publishedDate": "2023-02-23T22:15Z"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…