{"answers":{"affected":"4 open source packages ship an affected version, including mod-wsgi and mod_wsgi. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-2255 in the wild and no public exploit code.","fix":"Upgrade mod-wsgi to 4.9.3 or later.","what":"CVE-2022-2255 is a high-severity vulnerability in Debian Debian Linux, published on 25 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2255 and fix it if it is affected.\n\nWhat it is: CVE-2022-2255 is a high-severity vulnerability in Debian Debian Linux, published on 25 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-2255 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mod-wsgi (PyPI): affected all versions; fixed in 4.9.3\n- mod-wsgi (PyPI): affected all versions; fixed in 4.9.3\n- mod-wsgi (PyPI): affected all versions; fixed in 4.9.3\n- mod_wsgi (Bitnami): affected all versions; fixed in 4.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-2255/ (Markdown: https://insights.sbomify.com/CVE-2022-2255/index.md)","id":"CVE-2022-2255","markdown":"https://insights.sbomify.com/CVE-2022-2255/index.md","name":"CVE-2022-2255","record":{"aliases":["ALSA-2025:4791","AZL-10734","BIT-mod_wsgi-2022-2255","DEBIAN-CVE-2022-2255","DLA-3111-1","GHSA-7527-8855-9cf8","MGASA-2022-0289","OESA-2022-1827","PYSEC-2022-254","RHSA-2025:4791","RLSA-2025:4791","SUSE-SU-2022:4010-1","SUSE-SU-2022:4013-1","SUSE-SU-2022:4488-1","UBUNTU-CVE-2022-2255","USN-5551-1","openSUSE-SU-2024:12535-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache mod_wsgi module","requires_auth":"none","summary":"Attackers can spoof client IP addresses by injecting X-Client-IP headers, bypassing IP-based security controls in WSGI applications.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"mod_wsgi","vendor":"modwsgi"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-348","name":"Use of Less Trusted Source"}],"description":"A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy, allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing.","ecosystems":["AlmaLinux:8","Bitnami","PyPI","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Manager Proxy Module 4.1","SUSE:Manager Proxy Module 4.2","SUSE:Manager Proxy Module 4.3","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect header handling in mod-wsgi","id":"CVE-2022-2255","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"other","year":"2022"},"n_packages":189,"n_references":4,"next":{"headline":"Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles","id":"CVE-2022-2256"},"packages":[{"ecosystem":"Bitnami","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"mod_wsgi","purl":"pkg:bitnami/mod_wsgi","source":"BIT-mod_wsgi-2022-2255"},{"ecosystem":"PyPI","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"mod-wsgi","purl":null,"source":"GHSA-7527-8855-9cf8"},{"ecosystem":"PyPI","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"mod-wsgi","purl":"pkg:pypi/mod-wsgi","source":"GHSA-7527-8855-9cf8"},{"ecosystem":"PyPI","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"mod-wsgi","purl":"pkg:pypi/mod-wsgi","source":"PYSEC-2022-254"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39","purl":"pkg:rpm/almalinux/python39","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.1-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-PyMySQL","purl":"pkg:rpm/almalinux/python39-PyMySQL","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.4-19.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-chardet","purl":"pkg:rpm/almalinux/python39-chardet","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.1-3.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-cryptography","purl":"pkg:rpm/almalinux/python39-cryptography","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-devel","purl":"pkg:rpm/almalinux/python39-devel","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-idle","purl":"pkg:rpm/almalinux/python39-idle","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.10-4.module_el8.10.0+3849+a48d89aa"],"introduced":["0"],"last_affected":[],"package":"python39-idna","purl":"pkg:rpm/almalinux/python39-idna","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-libs","purl":"pkg:rpm/almalinux/python39-libs","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["4.7.1-7.module_el8.10.0+3989+a618fe15.1"],"introduced":["0"],"last_affected":[],"package":"python39-mod_wsgi","purl":"pkg:rpm/almalinux/python39-mod_wsgi","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-doc","purl":"pkg:rpm/almalinux/python39-numpy-doc","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-f2py","purl":"pkg:rpm/almalinux/python39-numpy-f2py","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-f2py","purl":"pkg:rpm/almalinux/python39-numpy-f2py","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["20.2.4-9.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-pip","purl":"pkg:rpm/almalinux/python39-pip","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["20.2.4-9.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-pip-wheel","purl":"pkg:rpm/almalinux/python39-pip-wheel","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.11-10.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-ply","purl":"pkg:rpm/almalinux/python39-ply","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["5.8.0-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-psutil","purl":"pkg:rpm/almalinux/python39-psutil","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["5.8.0-4.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-psutil","purl":"pkg:rpm/almalinux/python39-psutil","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-3.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2","purl":"pkg:rpm/almalinux/python39-psycopg2","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-3.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2-doc","purl":"pkg:rpm/almalinux/python39-psycopg2-doc","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-3.module_el8.10.0+3765+2f9a457d"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2-tests","purl":"pkg:rpm/almalinux/python39-psycopg2-tests","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.20-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pycparser","purl":"pkg:rpm/almalinux/python39-pycparser","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.7.1-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pysocks","purl":"pkg:rpm/almalinux/python39-pysocks","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["5.4.1-1.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pyyaml","purl":"pkg:rpm/almalinux/python39-pyyaml","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["5.4.1-1.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-pyyaml","purl":"pkg:rpm/almalinux/python39-pyyaml","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["2.25.0-3.module_el8.9.0+3634+fb2a896c"],"introduced":["0"],"last_affected":[],"package":"python39-requests","purl":"pkg:rpm/almalinux/python39-requests","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.20-1.module_el8.10.0+3902+1690be06"],"introduced":["0"],"last_affected":[],"package":"python39-rpm-macros","purl":"pkg:rpm/almalinux/python39-rpm-macros","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.5.4-5.module_el8.9.0+3634+fb2a896c"],"introduced":["0"],"last_affected":[],"package":"python39-scipy","purl":"pkg:rpm/almalinux/python39-scipy","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["50.3.2-6.module_el8.10.0+3885+d986a391"],"introduced":["0"],"last_affected":[],"package":"python39-setuptools","purl":"pkg:rpm/almalinux/python39-setuptools","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["50.3.2-6.module_el8.10.0+3885+d986a391"],"introduced":["0"],"last_affected":[],"package":"python39-setuptools-wheel","purl":"pkg:rpm/almalinux/python39-setuptools-wheel","source":"ALSA-2025:4791"},{"ecosystem":"AlmaLinux:8","fixed":["1.15.0-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-six","purl":"pkg:rpm/almalinux/python39-six","source":"ALSA-2025:4791"}],"prev":{"headline":"Distributed Data Systems WebHMI Cross-site Scripting","id":"CVE-2022-2254"},"products":["mod_wsgi"],"published":"2022-08-25","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can spoof client IP addresses by injecting X-Client-IP headers, bypassing IP-based security controls in WSGI applications.","url":"https://insights.sbomify.com/CVE-2022-2255/"}