{"answers":{"affected":"2 open source packages ship an affected version, including katello. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-14623 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-14623 is a medium-severity SQL injection vulnerability in The Foreman Project katello, published on 13 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-14623 and fix it if it is affected.\n\nWhat it is: CVE-2018-14623 is a medium-severity SQL injection vulnerability in The Foreman Project katello, published on 13 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-14623 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- katello (RubyGems): affected all versions up to 3.10; no fix listed\n- katello (RubyGems): affected all versions up to 3.10; 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-2018-14623/ (Markdown: https://insights.sbomify.com/CVE-2018-14623/index.md)","id":"CVE-2018-14623","markdown":"https://insights.sbomify.com/CVE-2018-14623/index.md","name":"CVE-2018-14623","record":{"aliases":["GHSA-jx5v-788g-qw58"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Katello management tool","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit a SQL injection flaw in Katello's errata API to leak internal database IDs.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"katello","vendor":"theforeman"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"A SQL injection flaw was found in katello's errata-related API. An authenticated remote attacker can craft input data to force a malformed SQL query to the backend database, which will leak internal IDs. This is issue is related to an incomplete fix for CVE-2016-3072. Version 3.10 and older is vulnerable.","ecosystems":["RubyGems"],"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":"katello SQL Injection vulnerability","id":"CVE-2018-14623","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"sql_injection","year":"2018"},"n_packages":2,"n_references":2,"next":{"headline":"Denial of service in 389-ds-base","id":"CVE-2018-14624"},"packages":[{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":["3.10"],"package":"katello","purl":null,"source":"GHSA-jx5v-788g-qw58"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":["3.10"],"package":"katello","purl":"pkg:gem/katello","source":"GHSA-jx5v-788g-qw58"}],"prev":{"headline":"Null dereference in libtirpc","id":"CVE-2018-14622"},"products":["katello"],"published":"2018-12-13","related":[{"cvss_score":7.5,"headline":"Denial of service in Katello","id":"CVE-2013-4120","kev_date_added":null,"published":"2019-12-10"},{"cvss_score":5.4,"headline":"Cross-site scripting in Katello","id":"CVE-2013-0283","kev_date_added":null,"published":"2019-12-05"},{"cvss_score":4.3,"headline":"katello Improper Privilege Management vulnerability","id":"CVE-2017-2662","kev_date_added":null,"published":"2018-08-22"},{"cvss_score":4.1,"headline":"Katello cleartext password storage issue","id":"CVE-2019-14825","kev_date_added":null,"published":"2019-11-25"}],"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-08-05","vendors":["The Foreman Project"]},"summary":"An authenticated attacker can exploit a SQL injection flaw in Katello's errata API to leak internal database IDs.","url":"https://insights.sbomify.com/CVE-2018-14623/"}