{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-13258 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-13258 is a critical missing authorization vulnerability in Drupal REST \u0026 JSON API Authentication, published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-13258 and fix it if it is affected.\n\nWhat it is: CVE-2024-13258 is a critical missing authorization vulnerability in Drupal REST \u0026 JSON API Authentication, published on 9 Jan 2025. 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-2024-13258 in the wild and no public exploit code.\n\nAffected product: Drupal REST \u0026 JSON API Authentication. 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-2024-13258/ (Markdown: https://insights.sbomify.com/CVE-2024-13258/index.md)","id":"CVE-2024-13258","markdown":"https://insights.sbomify.com/CVE-2024-13258/index.md","name":"CVE-2024-13258","record":{"aliases":["DRUPAL-CONTRIB-2024-022","GHSA-7649-pgpq-cpch"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal REST \u0026 JSON API Authentication","requires_auth":"none","summary":"An attacker can bypass authorization checks in the Drupal REST \u0026 JSON API Authentication module to access restricted resources.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"rest_\\\u0026_json_api_authentication","vendor":"rest_\\\u0026_json_api_authentication_project"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Incorrect Authorization vulnerability in Drupal Drupal REST \u0026 JSON API Authentication allows Forceful Browsing.This issue affects Drupal REST \u0026 JSON API Authentication: from 0.0.0 before 2.0.13.","ecosystems":["Packagist:https://packages.drupal.org/8"],"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":"Drupal REST \u0026 JSON API Authentication - Moderately critical - Access bypass - SA-CONTRIB-2024-022","id":"CVE-2024-13258","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":1,"n_references":1,"next":{"headline":"Image Sizes - Moderately critical - Access bypass - SA-CONTRIB-2024-023","id":"CVE-2024-13259"},"packages":[{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["2.0.13"],"introduced":["0"],"last_affected":[],"package":"drupal/rest_api_authentication","purl":"pkg:composer/drupal/rest_api_authentication?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2024-022"}],"prev":{"headline":"Commerce View Receipt - Moderately critical - Access bypass - SA-CONTRIB-2024-021","id":"CVE-2024-13257"},"products":["Drupal REST \u0026 JSON API Authentication"],"published":"2025-01-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-10","vendors":["Drupal"]},"summary":"An attacker can bypass authorization checks in the Drupal REST \u0026 JSON API Authentication module to access restricted resources.","url":"https://insights.sbomify.com/CVE-2024-13258/"}