{"answers":{"affected":"2 open source packages ship an affected version, including vrana/adminer. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-43008 in the wild and no public exploit code.","fix":"Upgrade vrana/adminer to 4.6.3 or later.","what":"CVE-2021-43008 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 5 Apr 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-2021-43008 and fix it if it is affected.\n\nWhat it is: CVE-2021-43008 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 5 Apr 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-2021-43008 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vrana/adminer (Packagist): affected from 1.12.0; fixed in 4.6.3\n- vrana/adminer (Packagist): affected from 1.12.0; fixed in 4.6.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-2021-43008/ (Markdown: https://insights.sbomify.com/CVE-2021-43008/index.md)","id":"CVE-2021-43008","markdown":"https://insights.sbomify.com/CVE-2021-43008/index.md","name":"CVE-2021-43008","record":{"aliases":["DEBIAN-CVE-2021-43008","DLA-3002-1","GHSA-rxfq-3vpc-vv72","UBUNTU-CVE-2021-43008"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Database management tool","requires_auth":"none","summary":"An attacker can read arbitrary files on the remote server by exploiting improper access control in Adminer's remote database connection feature.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"adminer","vendor":"adminer"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Improper Access Control in Adminer versions 1.12.0 to 4.6.2 (fixed in version 4.6.3) allows an attacker to achieve Arbitrary File Read on the remote server by requesting the Adminer to connect to a remote MySQL database.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2021-12-13","github_poc":3,"max_poc_stars":85,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-12-13T17:26:49Z","kind":"github_poc","ref":"https://github.com/p0dalirius/CVE-2021-43008-AdminerRead","stars":85,"title":"Exploit tool for CVE-2021-43008 Adminer 1.0 up to 4.6.2 Arbitrary File Read vulnerability "},{"date":"2025-11-19T18:47:18Z","kind":"github_poc","ref":"https://github.com/DaturaSaturated/Adminer-CVE-2021-43008","stars":0,"title":"Adminer CVE-2021-43008 PoC"},{"date":"2025-11-27T19:36:57Z","kind":"github_poc","ref":"https://github.com/Bamolitho/adminer_CVE-2021-43008","stars":0,"title":"Environnement de démonstration pour la vulnérabilité CVE-2021-43008 d’Adminer : observer l’impact réel et tester des mesures de mitigation."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Files or Directories Accessible to External Parties in Adminer","id":"CVE-2021-43008","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"path_traversal","year":"2021"},"n_packages":2,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-43009"},"packages":[{"ecosystem":"Packagist","fixed":["4.6.3"],"introduced":["1.12.0"],"last_affected":[],"package":"vrana/adminer","purl":null,"source":"GHSA-rxfq-3vpc-vv72"},{"ecosystem":"Packagist","fixed":["4.6.3"],"introduced":["1.12.0"],"last_affected":[],"package":"vrana/adminer","purl":"pkg:composer/vrana/adminer","source":"GHSA-rxfq-3vpc-vv72"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2021-43006"},"products":["n/a"],"published":"2022-04-05","related":[{"cvss_score":7.2,"headline":"Adminer Server-Side Request Forgery","id":"CVE-2021-21311","kev_date_added":"2025-09-29","published":"2021-02-11"},{"cvss_score":9.8,"headline":"vrana/adminer vulnerable to SSRF by connecting to privileged ports","id":"CVE-2018-7667","kev_date_added":null,"published":"2018-03-05"},{"cvss_score":8.6,"headline":"Adminer PHP Object Injection issue leads to Denial of Service","id":"CVE-2025-43960","kev_date_added":null,"published":"2025-08-25"},{"cvss_score":7.5,"headline":"Adminer has an Unauthenticated Persistent DoS via Array Injection in ?script=version Endpoint","id":"CVE-2026-25892","kev_date_added":null,"published":"2026-02-09"},{"cvss_score":7.5,"headline":"XSS in doc_link","id":"CVE-2021-29625","kev_date_added":null,"published":"2021-05-19"},{"cvss_score":6.1,"headline":"vrana/adminer via XSS in the history parameter in SQL command","id":"CVE-2020-35572","kev_date_added":null,"published":"2021-02-09"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can read arbitrary files on the remote server by exploiting improper access control in Adminer's remote database connection feature.","url":"https://insights.sbomify.com/CVE-2021-43008/"}