{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.derby:derby. It affects 1 product.","exploited":"There is no known exploitation of CVE-2005-4849 in the wild and no public exploit code.","fix":"Upgrade org.apache.derby:derby to 10.1.2.1 or later.","what":"CVE-2005-4849 is a medium-severity vulnerability in n/a, published on 5 Jul 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2005-4849 and fix it if it is affected.\n\nWhat it is: CVE-2005-4849 is a medium-severity vulnerability in n/a, published on 5 Jul 2007. 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-2005-4849 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.derby:derby (Maven): affected all versions; fixed in 10.1.2.1\n- org.apache.derby:derby (Maven): affected all versions; fixed in 10.1.2.1\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-2005-4849/ (Markdown: https://insights.sbomify.com/CVE-2005-4849/index.md)","id":"CVE-2005-4849","markdown":"https://insights.sbomify.com/CVE-2005-4849/index.md","name":"CVE-2005-4849","record":{"aliases":["GHSA-rp7r-79rm-2758"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Derby database","requires_auth":"none","summary":"Attackers can obtain cleartext user credentials via specific database commands or metadata functions in Apache Derby.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"derby","vendor":"apache"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Apache Derby before 10.1.2.1 exposes the (1) user and (2) password attributes in cleartext via (a) the RDBNAM parameter of the ACCSEC command and (b) the output of the DatabaseMetaData.getURL function, which allows context-dependent attackers to obtain sensitive information.","ecosystems":["Maven"],"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":"Apache Derby exposes user and password attributes","id":"CVE-2005-4849","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2005"},"n_packages":2,"n_references":3,"next":{"headline":"Missing authorization in n/a","id":"CVE-2005-4850"},"packages":[{"ecosystem":"Maven","fixed":["10.1.2.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.derby:derby","purl":null,"source":"GHSA-rp7r-79rm-2758"},{"ecosystem":"Maven","fixed":["10.1.2.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","source":"GHSA-rp7r-79rm-2758"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2005-4848"},"products":["n/a"],"published":"2007-07-05","related":[{"cvss_score":9.8,"headline":"Apache Derby: LDAP injection vulnerability in authenticator","id":"CVE-2022-46337","kev_date_added":null,"published":"2023-11-20"},{"cvss_score":9.1,"headline":"Improper Restriction of XML External Entity Reference in Apace Derby","id":"CVE-2015-1832","kev_date_added":null,"published":"2016-10-03"},{"cvss_score":7.5,"headline":"Improper Access Control in Apache Derby","id":"CVE-2010-2232","kev_date_added":null,"published":"2017-10-23"},{"cvss_score":5.3,"headline":"Improper Access Control in Apache Derby","id":"CVE-2018-1313","kev_date_added":null,"published":"2018-05-07"},{"cvss_score":4,"headline":"Missing authorization in n/a","id":"CVE-2006-7216","kev_date_added":null,"published":"2007-07-05"},{"cvss_score":4,"headline":"Apache Derby SQL Injection","id":"CVE-2006-7217","kev_date_added":null,"published":"2007-07-05"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Attackers can obtain cleartext user credentials via specific database commands or metadata functions in Apache Derby.","url":"https://insights.sbomify.com/CVE-2005-4849/"}