{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-30161 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-30161 is a medium-severity use after free vulnerability in Qt Qt, published on 24 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-30161 and fix it if it is affected.\n\nWhat it is: CVE-2024-30161 is a medium-severity use after free vulnerability in Qt Qt, published on 24 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-30161 in the wild and no public exploit code.\n\nAffected product: Qt Qt. 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-2024-30161/ (Markdown: https://insights.sbomify.com/CVE-2024-30161/index.md)","id":"CVE-2024-30161","markdown":"https://insights.sbomify.com/CVE-2024-30161/index.md","name":"CVE-2024-30161","record":{"aliases":["AZL-38545","GHSA-5gxc-5wfv-r5f9","SUSE-SU-2024:1174-1","UBUNTU-CVE-2024-30161","openSUSE-SU-2024:13844-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Qt WebAssembly library","requires_auth":"none","summary":"A dangling pointer in Qt WebAssembly allows attackers to access freed memory, potentially leading to code execution or crashes.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qt","vendor":"qt"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"In Qt 6.5.4, 6.5.5, and 6.6.2, QNetworkReply header data might be accessed via a dangling pointer in Qt for WebAssembly (wasm). (Earlier and later versions are unaffected.)","ecosystems":["SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP5","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"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":"Use after free in n/a","id":"CVE-2024-30161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qt:qt","products":["qt:qt"],"type":"use_after_free","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"File upload in n/a","id":"CVE-2024-30162"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","fixed":["6.4.2-150500.3.17.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base","purl":"pkg:rpm/suse/qt6-base\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP5","source":"SUSE-SU-2024:1174-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["6.4.2-150500.3.17.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base","purl":"pkg:rpm/suse/qt6-base\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:1174-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["6.4.2-150500.3.17.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base","purl":"pkg:rpm/opensuse/qt6-base\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1174-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["6.4.2-150500.3.17.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base-docs","purl":"pkg:rpm/opensuse/qt6-base-docs\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1174-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.7.0-1.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base","purl":"pkg:rpm/opensuse/qt6-base\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13844-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-30160"},"products":["n/a"],"published":"2024-03-24","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-12267","kev_date_added":null,"published":"2020-04-27"},{"cvss_score":9.8,"headline":"Command injection in Qt for Android","id":"CVE-2017-10904","kev_date_added":null,"published":"2017-12-15"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2011-3194","kev_date_added":null,"published":"2012-06-16"},{"cvss_score":8.8,"headline":"Integer overflow in Qt","id":"CVE-2022-40983","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":8.8,"headline":"Memory corruption in Qt","id":"CVE-2022-43591","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":8.6,"headline":"Race condition in n/a","id":"CVE-2024-39936","kev_date_added":null,"published":"2024-07-04"},{"cvss_score":8.6,"headline":"Denial of service in n/a","id":"CVE-2018-21035","kev_date_added":null,"published":"2020-02-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-14","vendors":["n/a"]},"summary":"A dangling pointer in Qt WebAssembly allows attackers to access freed memory, potentially leading to code execution or crashes.","url":"https://insights.sbomify.com/CVE-2024-30161/"}