{"answers":{"affected":"3 open source packages ship an affected version, including github.com/owncast/owncast. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3751 exists.","fix":"Upgrade github.com/owncast/owncast to 0.0.13 or later.","what":"CVE-2022-3751 is a high-severity SQL injection vulnerability in owncast/owncast, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3751 and fix it if it is affected.\n\nWhat it is: CVE-2022-3751 is a high-severity SQL injection vulnerability in owncast/owncast, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3751 exists.\n\nAffected packages and fixed versions:\n- github.com/owncast/owncast (Go): affected all versions; fixed in 0.0.13\n- github.com/owncast/owncast (Go): affected all versions; fixed in 0.0.13\n- github.com/owncast/owncast (Go): affected all versions; fixed in 0.0.13\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-2022-3751/ (Markdown: https://insights.sbomify.com/CVE-2022-3751/index.md)","id":"CVE-2022-3751","markdown":"https://insights.sbomify.com/CVE-2022-3751/index.md","name":"CVE-2022-3751","record":{"aliases":["GHSA-cvh4-cjc9-84qm","GO-2022-1138"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Owncast streaming server","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary SQL commands in Owncast, potentially reading or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"owncast","vendor":"owncast_project"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQL Injection in GitHub repository owncast/owncast prior to 0.0.13.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SQL Injection in owncast/owncast","id":"CVE-2022-3751","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Rockwell Automation GuardLogix and ControlLogix controllers Vulnerable to Denial-Of-Service Attack","id":"CVE-2022-3752"},"packages":[{"ecosystem":"Go","fixed":["0.0.13"],"introduced":["0"],"last_affected":[],"package":"github.com/owncast/owncast","purl":null,"source":"GHSA-cvh4-cjc9-84qm"},{"ecosystem":"Go","fixed":["0.0.13"],"introduced":["0"],"last_affected":[],"package":"github.com/owncast/owncast","purl":"pkg:golang/github.com/owncast/owncast","source":"GHSA-cvh4-cjc9-84qm"},{"ecosystem":"Go","fixed":["0.0.13"],"introduced":["0"],"last_affected":[],"package":"github.com/owncast/owncast","purl":"pkg:golang/github.com/owncast/owncast","source":"GO-2022-1138"}],"prev":{"headline":"Ask Me \u003c 6.8.7 - Post Deletion via CSRF","id":"CVE-2022-3750"},"products":["owncast/owncast"],"published":"2022-11-29","related":[{"cvss_score":9.8,"headline":"OwnCast remote code execution vulnerability","id":"CVE-2023-46480","kev_date_added":null,"published":"2023-11-27"},{"cvss_score":8.3,"headline":"Server-Side Request Forgery (SSRF) in owncast/owncast","id":"CVE-2023-3188","kev_date_added":null,"published":"2023-06-10"},{"cvss_score":8.2,"headline":"Owncast cross origin request","id":"CVE-2024-29026","kev_date_added":null,"published":"2024-03-20"},{"cvss_score":8.2,"headline":"Unsafe inline XSS Owncast","id":"CVE-2021-39183","kev_date_added":null,"published":"2021-12-14"},{"cvss_score":2.7,"headline":"Owncast vulnerable to arbitrary file deletion in emoji.go (GHSL-2023-277)","id":"CVE-2024-31450","kev_date_added":null,"published":"2024-04-19"}],"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-25","vendors":["owncast"]},"summary":"Attackers can execute arbitrary SQL commands in Owncast, potentially reading or modifying database contents.","url":"https://insights.sbomify.com/CVE-2022-3751/"}