{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-21504 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-21504 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21504 is a medium-severity use after free vulnerability in Oracle Linux, published on 14 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-21504 and fix it if it is affected.\n\nWhat it is: CVE-2022-21504 is a medium-severity use after free vulnerability in Oracle Linux, published on 14 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-21504 in the wild and no public exploit code.\n\nAffected product: Oracle Linux. 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-21504/ (Markdown: https://insights.sbomify.com/CVE-2022-21504/index.md)","id":"CVE-2022-21504","markdown":"https://insights.sbomify.com/CVE-2022-21504/index.md","name":"CVE-2022-21504","record":{"aliases":["GHSA-j35v-hq2g-vwqc"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Oracle Linux kernel","requires_auth":"low_privilege","summary":"A local attacker can trigger a use-after-free in the UEK6 kernel, causing a denial of service by operating on a freed socket.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"linux","vendor":"oracle"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"The code in UEK6 U3 was missing an appropiate file descriptor count to be missing. This resulted in a use count error that allowed a file descriptor to a socket to be closed and freed while it was still in use by another portion of the kernel. An attack with local access can operate on the socket, and cause a denial of service. CVSS 3.1 Base Score 5.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Use after free in Oracle Linux","id":"CVE-2022-21504","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:linux","products":["oracle:linux"],"type":"use_after_free","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in Oracle Linux","id":"CVE-2022-21505"},"packages":[],"prev":{"headline":"Information disclosure in Oracle Cloud Infrastructure","id":"CVE-2022-21503"},"products":["Oracle Linux"],"published":"2022-06-14","related":[{"cvss_score":7.8,"headline":"Red Hat Automatic Bug Reporting Tool Privilege Escalation","id":"CVE-2015-5287","kev_date_added":"2026-08-26","published":"2015-12-07"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-5408","kev_date_added":null,"published":"2016-08-10"},{"cvss_score":8.1,"headline":"Memory corruption in n/a","id":"CVE-2016-1714","kev_date_added":null,"published":"2016-04-07"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2015-3812","kev_date_added":null,"published":"2015-05-26"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2015-2328","kev_date_added":null,"published":"2015-12-02"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2015-8385","kev_date_added":null,"published":"2015-12-02"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2015-8388","kev_date_added":null,"published":"2015-12-02"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["Oracle Corporation"]},"summary":"A local attacker can trigger a use-after-free in the UEK6 kernel, causing a denial of service by operating on a freed socket.","url":"https://insights.sbomify.com/CVE-2022-21504/"}