{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4121 exists.","fix":"Apply the vendor's patch.","what":"CVE-2022-4121 is a medium-severity vulnerability in libetpan, published on 17 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4121 and fix it if it is affected.\n\nWhat it is: CVE-2022-4121 is a medium-severity vulnerability in libetpan, published on 17 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4121 exists.\n\nAffected product: libetpan. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-4121/ (Markdown: https://insights.sbomify.com/CVE-2022-4121/index.md)","id":"CVE-2022-4121","markdown":"https://insights.sbomify.com/CVE-2022-4121/index.md","name":"CVE-2022-4121","record":{"aliases":["DEBIAN-CVE-2022-4121","DLA-3261-1","DLA-4256-1","GHSA-73jp-p4j5-5wmx","MGASA-2022-0470","UBUNTU-CVE-2022-4121","USN-7740-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"libetpan IMAP library","requires_auth":"none","summary":"A null pointer dereference in libetpan allows remote attackers to cause a denial of service via crafted IMAP responses.","user_interaction":"required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fedora","cpe":[{"product":"libetpan","vendor":"libetpan_project"}],"cvss":{"score":5.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"In libetpan a null pointer dereference in mailimap_mailbox_data_status_free in low-level/imap/mailimap_types.c was found that could lead to a remote denial of service or other potential consequences.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Null dereference in libetpan","id":"CVE-2022-4121","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Buildah (as part of Podman) vulnerable to Link Following","id":"CVE-2022-4122"},"packages":[],"prev":{"headline":"Stop Spammers Security \u003c 2022.6 - Unauthenticated PHP Object Injection","id":"CVE-2022-4120"},"products":["libetpan"],"published":"2023-01-17","related":[{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-8825","kev_date_added":null,"published":"2017-05-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":"A null pointer dereference in libetpan allows remote attackers to cause a denial of service via crafted IMAP responses.","url":"https://insights.sbomify.com/CVE-2022-4121/"}