{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-30145 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-30145 is a high-severity code injection vulnerability in n/a, published on 18 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-30145 and fix it if it is affected.\n\nWhat it is: CVE-2021-30145 is a high-severity code injection vulnerability in n/a, published on 18 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-30145 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-30145/ (Markdown: https://insights.sbomify.com/CVE-2021-30145/index.md)","id":"CVE-2021-30145","markdown":"https://insights.sbomify.com/CVE-2021-30145/index.md","name":"CVE-2021-30145","record":{"aliases":["DEBIAN-CVE-2021-30145","GHSA-mf25-jq7f-vx34","JLSEC-2026-476","MGASA-2021-0235","OESA-2024-1722","OESA-2024-1929","OESA-2024-1930","UBUNTU-CVE-2021-30145","openSUSE-SU-2021:0788-1","openSUSE-SU-2021:0798-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"mpv media player","requires_auth":"none","summary":"A format string vulnerability in mpv allows remote attackers to execute arbitrary code via a crafted m3u playlist file.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mpv","vendor":"mpv"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"description":"A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.","ecosystems":["SUSE:Package Hub 15 SP2","openSUSE:Leap 15.2"],"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":"Code injection in n/a","id":"CVE-2021-30145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":2,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-30146"},"packages":[{"ecosystem":"SUSE:Package Hub 15 SP2","fixed":["0.32.0+git.20200301T004003.e7bab0025f-bp152.2.6.1"],"introduced":["0"],"last_affected":[],"package":"mpv","purl":"pkg:rpm/suse/mpv\u0026distro=SUSE%20Package%20Hub%2015%20SP2","source":"openSUSE-SU-2021:0798-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["0.32.0+git.20200301T004003.e7bab0025f-lp152.2.6.1"],"introduced":["0"],"last_affected":[],"package":"mpv","purl":"pkg:rpm/opensuse/mpv\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0788-1"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2021-30144"},"products":["n/a"],"published":"2021-05-18","related":[{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2020-19824","kev_date_added":null,"published":"2023-02-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-03","vendors":["n/a"]},"summary":"A format string vulnerability in mpv allows remote attackers to execute arbitrary code via a crafted m3u playlist file.","url":"https://insights.sbomify.com/CVE-2021-30145/"}