{"answers":{"affected":"6 open source packages ship an affected version, including oidcc.","exploited":"There is no known exploitation of CVE-2024-31209 in the wild and no public exploit code.","fix":"Upgrade oidcc to a fixed version for your release line: 3.0.2, 3.1.2 or 3.2.0-beta.3.","what":"CVE-2024-31209 is a medium-severity denial of service vulnerability in erlef oidcc, published on 4 Apr 2024. 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-2024-31209 and fix it if it is affected.\n\nWhat it is: CVE-2024-31209 is a medium-severity denial of service vulnerability in erlef oidcc, published on 4 Apr 2024. 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-2024-31209 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- oidcc (Hex): affected from 3.0.0; fixed in 3.0.2\n- oidcc (Hex): affected from 3.0.0; fixed in 3.0.2\n- oidcc (Hex): affected from 3.1.0; fixed in 3.1.2\n- oidcc (Hex): affected from 3.1.0; fixed in 3.1.2\n- oidcc (Hex): affected from 3.2.0-beta.1; fixed in 3.2.0-beta.3\n- oidcc (Hex): affected from 3.2.0-beta.1; fixed in 3.2.0-beta.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-2024-31209/ (Markdown: https://insights.sbomify.com/CVE-2024-31209/index.md)","id":"CVE-2024-31209","markdown":"https://insights.sbomify.com/CVE-2024-31209/index.md","name":"CVE-2024-31209","record":{"aliases":["GHSA-mj35-2rgf-cv8p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Erlang OIDC client","requires_auth":"high_privilege","summary":"Attackers can cause denial of service in Erlang applications using the oidcc library by exhausting atoms via specific worker function calls.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"oidcc is the OpenID Connect client library for Erlang. Denial of Service (DoS) by Atom exhaustion is possible by calling `oidcc_provider_configuration_worker:get_provider_configuration/1` or `oidcc_provider_configuration_worker:get_jwks/1`. This issue has been patched in version(s)`3.1.2` \u0026 `3.2.0-beta.3`.","ecosystems":["Hex"],"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":"OpenID Connect client Atom Exhaustion in provider configuration worker ets table location","id":"CVE-2024-31209","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":6,"n_references":5,"next":{"headline":"PHP file upload bypass via Plugin installer","id":"CVE-2024-31210"},"packages":[{"ecosystem":"Hex","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"oidcc","purl":null,"source":"GHSA-mj35-2rgf-cv8p"},{"ecosystem":"Hex","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"oidcc","purl":"pkg:hex/oidcc","source":"GHSA-mj35-2rgf-cv8p"},{"ecosystem":"Hex","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"oidcc","purl":null,"source":"GHSA-mj35-2rgf-cv8p"},{"ecosystem":"Hex","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"oidcc","purl":"pkg:hex/oidcc","source":"GHSA-mj35-2rgf-cv8p"},{"ecosystem":"Hex","fixed":["3.2.0-beta.3"],"introduced":["3.2.0-beta.1"],"last_affected":[],"package":"oidcc","purl":null,"source":"GHSA-mj35-2rgf-cv8p"},{"ecosystem":"Hex","fixed":["3.2.0-beta.3"],"introduced":["3.2.0-beta.1"],"last_affected":[],"package":"oidcc","purl":"pkg:hex/oidcc","source":"GHSA-mj35-2rgf-cv8p"}],"prev":{"headline":"Synapse's V2 state resolution weakness allows DoS from remote room members","id":"CVE-2024-31208"},"products":["oidcc"],"published":"2024-04-04","related":[],"sources":[{"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":"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-03","vendors":["erlef"]},"summary":"Attackers can cause denial of service in Erlang applications using the oidcc library by exhausting atoms via specific worker function calls.","url":"https://insights.sbomify.com/CVE-2024-31209/"}