{"answers":{"affected":"4 open source packages ship an affected version, including github.com/apache/trafficcontrol/v8 and github.com/apache/trafficcontrol. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45387 in the wild and no public exploit code.","fix":"Upgrade github.com/apache/trafficcontrol/v8 to 8.0.2 or later.","what":"CVE-2024-45387 is a critical vulnerability in Apache Traffic Control, published on 23 Dec 2024."},"fix_prompt":"Check this codebase for CVE-2024-45387 and fix it if it is affected.\n\nWhat it is: CVE-2024-45387 is a critical vulnerability in Apache Traffic Control, published on 23 Dec 2024. \nExploitation: There is no known exploitation of CVE-2024-45387 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apache/trafficcontrol/v8 (Go): affected from 8.0.0; fixed in 8.0.2\n- github.com/apache/trafficcontrol/v8 (Go): affected from 8.0.0; fixed in 8.0.2\n- github.com/apache/trafficcontrol/v8 (Go): affected from 8.0.0; fixed in 8.0.2\n- github.com/apache/trafficcontrol (Go): affected all versions; no fix listed\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-45387/ (Markdown: https://insights.sbomify.com/CVE-2024-45387/index.md)","id":"CVE-2024-45387","markdown":"https://insights.sbomify.com/CVE-2024-45387/index.md","name":"CVE-2024-45387","record":{"aliases":["GHSA-vq94-9pfv-ccqr","GO-2024-3358"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"traffic_control","vendor":"apache"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-285","name":"Improper Authorization"}],"description":"An SQL injection vulnerability in Traffic Ops in Apache Traffic Control \u003c= 8.0.1, \u003e= 8.0.0 allows a privileged user with role \"admin\", \"federation\", \"operations\", \"portal\", or \"steering\" to execute arbitrary SQL against the database by sending a specially-crafted PUT request.\n\nUsers are recommended to upgrade to version Apache Traffic Control 8.0.2 if you run an affected version of Traffic Ops.","ecosystems":["Go"],"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 Traffic Control: SQL Injection in Traffic Ops endpoint PUT deliveryservice_request_comments","id":"CVE-2024-45387","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"Arbitrary file read in the `/api/v2/simulation` endpoint in hoverfly (`GHSL-2023-274`)","id":"CVE-2024-45388"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GO-2024-3358"},{"ecosystem":"Go","fixed":["8.0.2"],"introduced":["8.0.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol/v8","purl":null,"source":"GHSA-vq94-9pfv-ccqr"},{"ecosystem":"Go","fixed":["8.0.2"],"introduced":["8.0.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol/v8","purl":"pkg:golang/github.com/apache/trafficcontrol/v8","source":"GHSA-vq94-9pfv-ccqr"},{"ecosystem":"Go","fixed":["8.0.2"],"introduced":["8.0.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol/v8","purl":"pkg:golang/github.com/apache/trafficcontrol/v8","source":"GO-2024-3358"}],"prev":{"headline":"Auth bypass in SIMATIC PCS neo V4.0","id":"CVE-2024-45386"},"products":["Apache Traffic Control"],"published":"2024-12-23","related":[{"cvss_score":9.8,"headline":"LDAP filter injection vulnerability in Traffic Ops","id":"CVE-2021-43350","kev_date_added":null,"published":"2021-11-11"},{"cvss_score":9.8,"headline":"Improper Authentication in Apache Traffic Control","id":"CVE-2019-12405","kev_date_added":null,"published":"2019-09-09"},{"cvss_score":7.5,"headline":"Apache Traffic Control: ReDoS issue in Traffic Router configuration","id":"CVE-2025-61581","kev_date_added":null,"published":"2025-10-16"},{"cvss_score":7.5,"headline":"Server-Side Request Forgery in Traffic Ops endpoint POST /user/login/oauth","id":"CVE-2022-23206","kev_date_added":null,"published":"2022-02-06"},{"cvss_score":7.5,"headline":"Apache Traffic Control vulnerable to Slowloris-style Denial of Service attack","id":"CVE-2017-7670","kev_date_added":null,"published":"2017-07-10"},{"cvss_score":5.8,"headline":"Cache Manipulation Attack in Apache Traffic Control","id":"CVE-2020-17522","kev_date_added":null,"published":"2021-01-26"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-24","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-45387/"}