{"answers":{"affected":"1 open source package ship an affected version, including artifactory.","exploited":"There is no known exploitation of CVE-2024-4142 in the wild and no public exploit code.","fix":"Upgrade artifactory to a fixed version for your release line: 7.55.17, 7.59.22, 7.63.21 or 7.68.21.","what":"CVE-2024-4142 is a critical vulnerability in JFrog Artifactory, published on 1 May 2024. 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-4142 and fix it if it is affected.\n\nWhat it is: CVE-2024-4142 is a critical vulnerability in JFrog Artifactory, published on 1 May 2024. 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-4142 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- artifactory (Bitnami): affected all versions; fixed in 7.55.17, 7.59.22, 7.63.21, 7.68.21, 7.71.21, 7.77.11, 7.84.6\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-4142/ (Markdown: https://insights.sbomify.com/CVE-2024-4142/index.md)","id":"CVE-2024-4142","markdown":"https://insights.sbomify.com/CVE-2024-4142/index.md","name":"CVE-2024-4142","record":{"aliases":["BIT-artifactory-2024-4142","GHSA-h9vw-8427-h758"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"JFrog Artifactory","requires_auth":"none","summary":"Low-privilege users can gain administrative access via improper input validation in token creation, affecting JFrog Artifactory deployments.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"An Improper input validation vulnerability that could potentially lead to privilege escalation was discovered in JFrog Artifactory.\n\nDue to this vulnerability, users with low privileges may gain administrative access to the system.\n\nThis issue can also be exploited in Artifactory platforms with anonymous access enabled.","ecosystems":["Bitnami"],"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":"JFrog Artifactory Improper input validation within token creation flow","id":"CVE-2024-4142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":1,"n_references":1,"next":{"headline":"Certain HP PC products using AMI BIOS – Buffer Overflow","id":"CVE-2024-4143"},"packages":[{"ecosystem":"Bitnami","fixed":["7.55.17","7.59.22","7.63.21","7.68.21","7.71.21","7.77.11","7.84.6"],"introduced":["0","7.56.0","7.60.0","7.64.0","7.69.0","7.72.0","7.78.0"],"last_affected":[],"package":"artifactory","purl":"pkg:bitnami/artifactory","source":"BIT-artifactory-2024-4142"}],"prev":{"headline":"Out-of-bounds array write in Xpdf 4.05 due to incorrect bounds check","id":"CVE-2024-4141"},"products":["Artifactory"],"published":"2024-05-01","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["JFrog"]},"summary":"Low-privilege users can gain administrative access via improper input validation in token creation, affecting JFrog Artifactory deployments.","url":"https://insights.sbomify.com/CVE-2024-4142/"}