{"answers":{"affected":"3 open source packages ship an affected version, including github.com/0xJacky/Nginx-UI. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23828 in the wild and no public exploit code.","fix":"Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20240126104956-d70e37c8575e or later.","what":"CVE-2024-23828 is a high-severity command injection vulnerability in 0xJacky nginx-ui, published on 29 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23828 and fix it if it is affected.\n\nWhat it is: CVE-2024-23828 is a high-severity command injection vulnerability in 0xJacky nginx-ui, published on 29 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-23828 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/0xJacky/Nginx-UI (Go): affected all versions; no fix listed\n- github.com/0xJacky/Nginx-UI (Go): affected all versions; fixed in 1.9.10-0.20240126104956-d70e37c8575e\n- github.com/0xJacky/Nginx-UI (Go): affected all versions; fixed in 1.9.10-0.20240126104956-d70e37c8575e\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-23828/ (Markdown: https://insights.sbomify.com/CVE-2024-23828/index.md)","id":"CVE-2024-23828","markdown":"https://insights.sbomify.com/CVE-2024-23828/index.md","name":"CVE-2024-23828","record":{"aliases":["GHSA-qcjq-7f7v-pvc8","GO-2024-2480"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nginx management UI","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary commands by injecting CRLF sequences into Nginx-UI configuration fields.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nginx_ui","vendor":"nginxui"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to an authenticated arbitrary command execution via CRLF attack when changing the value of test_config_cmd or start_cmd. This vulnerability exists due to an incomplete fix for CVE-2024-22197 and CVE-2024-22198. This vulnerability has been patched in version 2.0.0.beta.12.","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":"Nginx-UI authenticated RCE through injecting into the application config via CRLF","id":"CVE-2024-23828","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"aiohttp's HTTP parser (the python one, not llhttp) still overly lenient about separators","id":"CVE-2024-23829"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"GO-2024-2480"},{"ecosystem":"Go","fixed":["1.9.10-0.20240126104956-d70e37c8575e"],"introduced":["0"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":null,"source":"GHSA-qcjq-7f7v-pvc8"},{"ecosystem":"Go","fixed":["1.9.10-0.20240126104956-d70e37c8575e"],"introduced":["0"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"GHSA-qcjq-7f7v-pvc8"}],"prev":{"headline":"Nginx-UI arbitrary file write through the Import Certificate feature","id":"CVE-2024-23827"},"products":["nginx-ui"],"published":"2024-01-29","related":[{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover","id":"CVE-2026-33032","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure","id":"CVE-2026-27944","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9.8,"headline":"Nginx-UI arbitrary file write through the Import Certificate feature","id":"CVE-2024-23827","kev_date_added":null,"published":"2024-01-29"},{"cvss_score":9.4,"headline":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","id":"CVE-2026-107806","kev_date_added":null,"published":"2026-10-09"},{"cvss_score":9.4,"headline":"nginx-ui Backup Restore Allows Tampering with Encrypted Backups","id":"CVE-2026-33026","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9,"headline":"Unauthenticated Remote Code Execution via Backup Restore in nginx-ui","id":"CVE-2026-42238","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":8.9,"headline":"Unchecked logrotate settings lead to arbitrary command execution","id":"CVE-2024-49368","kev_date_added":null,"published":"2024-10-21"}],"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-11-12","vendors":["0xJacky"]},"summary":"Authenticated attackers can execute arbitrary commands by injecting CRLF sequences into Nginx-UI configuration fields.","url":"https://insights.sbomify.com/CVE-2024-23828/"}