{"api_version":"1","generated_at":"2026-07-23T10:02:09+00:00","cve":"CVE-2022-4170","urls":{"html":"https://cve.report/CVE-2022-4170","api":"https://cve.report/api/cve/CVE-2022-4170.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4170","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4170"},"summary":{"title":"CVE-2022-4170","description":"The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set.","state":"PUBLIC","assigner":"patrick@puiterwijk.org","published_at":"2022-12-09 18:15:00","updated_at":"2023-11-14 19:22:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2151597","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2151597","refsource":"MISC","tags":[],"title":"2151597 – (CVE-2022-4170) CVE-2022-4170 rxvt-unicode: remote code execution via background OSC","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2022/12/05/1","name":"https://www.openwall.com/lists/oss-security/2022/12/05/1","refsource":"MISC","tags":[],"title":"oss-security - CVE-2022-4170: rxvt-unicode code execution via background OSC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202310-20","name":"GLSA-202310-20","refsource":"GENTOO","tags":[],"title":"rxvt-unicode: Arbitrary Code Execution (GLSA 202310-20) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4170","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4170","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4170","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fedoraproject","cpe5":"extra_packages_for_enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4170","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4170","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rxvt-unicode_project","cpe5":"rxvt-unicode","cpe6":"9.25","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4170","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rxvt-unicode_project","cpe5":"rxvt-unicode","cpe6":"9.26","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-4170","qid":"503266","title":"Alpine Linux Security Update for rxvt-unicode"},{"cve":"CVE-2022-4170","qid":"506238","title":"Alpine Linux Security Update for rxvt-unicode"},{"cve":"CVE-2022-4170","qid":"691018","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for rxvt (5b2eac07-8b4d-11ed-8b23-a0f3c100ae18)"},{"cve":"CVE-2022-4170","qid":"710778","title":"Gentoo Linux rxvt-unicode Arbitrary Code Execution Vulnerability (GLSA 202310-20)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-4170","ASSIGNER":"patrick@puiterwijk.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"rxvt-unicode","version":{"version_data":[{"version_value":"rxvt-unicode 9.30"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2151597","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2151597"},{"refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2022/12/05/1","url":"https://www.openwall.com/lists/oss-security/2022/12/05/1"},{"refsource":"GENTOO","name":"GLSA-202310-20","url":"https://security.gentoo.org/glsa/202310-20"}]},"description":{"description_data":[{"lang":"eng","value":"The rxvt-unicode package is vulnerable to a remote code execution, in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set."}]}},"nvd":{"publishedDate":"2022-12-09 18:15:00","lastModifiedDate":"2023-11-14 19:22:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rxvt-unicode_project:rxvt-unicode:9.25:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rxvt-unicode_project:rxvt-unicode:9.26:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}