{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-25255 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-25255 is a high-severity path traversal vulnerability in Qt Qt, published on 16 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-25255 and fix it if it is affected.\n\nWhat it is: CVE-2022-25255 is a high-severity path traversal vulnerability in Qt Qt, published on 16 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-25255 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-2022-25255/ (Markdown: https://insights.sbomify.com/CVE-2022-25255/index.md)","id":"CVE-2022-25255","markdown":"https://insights.sbomify.com/CVE-2022-25255/index.md","name":"CVE-2022-25255","record":{"aliases":["ALSA-2022:7482","ALSA-2022:8022","AZL-50050","DEBIAN-CVE-2022-25255","GHSA-fw78-qp2x-5gc7","OESA-2022-1787","OESA-2022-1803","RHSA-2022:7482","RHSA-2022:8022","RLSA-2022:7482","RLSA-2022:8022","UBUNTU-CVE-2022-25255","openSUSE-SU-2024:11879-1","openSUSE-SU-2024:11886-1","openSUSE-SU-2024:11974-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Qt framework","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary binaries from the current working directory via QProcess, leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qt","vendor":"qt"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In Qt 5.9.x through 5.15.x before 5.15.9 and 6.x before 6.2.4 on Linux and UNIX, QProcess could execute a binary from the current working directory when not found in the PATH.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:8","Rocky Linux:9","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":"Path traversal in n/a","id":"CVE-2022-25255","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qt:qt","products":["qt:qt"],"type":"path_traversal","year":"2022"},"n_packages":20,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-25256"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-devel","purl":"pkg:rpm/almalinux/qt5-devel","source":"ALSA-2022:7482"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-rpm-macros","purl":"pkg:rpm/almalinux/qt5-rpm-macros","source":"ALSA-2022:7482"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-srpm-macros","purl":"pkg:rpm/almalinux/qt5-srpm-macros","source":"ALSA-2022:7482"},{"ecosystem":"AlmaLinux:9","fixed":["5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5","purl":"pkg:rpm/almalinux/qt5","source":"ALSA-2022:8022"},{"ecosystem":"AlmaLinux:9","fixed":["5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-devel","purl":"pkg:rpm/almalinux/qt5-devel","source":"ALSA-2022:8022"},{"ecosystem":"AlmaLinux:9","fixed":["5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-rpm-macros","purl":"pkg:rpm/almalinux/qt5-rpm-macros","source":"ALSA-2022:8022"},{"ecosystem":"AlmaLinux:9","fixed":["5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-srpm-macros","purl":"pkg:rpm/almalinux/qt5-srpm-macros","source":"ALSA-2022:8022"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5","purl":"pkg:rpm/redhat/qt5","source":"RHSA-2022:7482"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-rpm-macros","purl":"pkg:rpm/redhat/qt5-rpm-macros","source":"RHSA-2022:7482"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-srpm-macros","purl":"pkg:rpm/redhat/qt5-srpm-macros","source":"RHSA-2022:7482"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-devel","purl":"pkg:rpm/redhat/qt5-devel","source":"RHSA-2022:7482"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5","purl":"pkg:rpm/redhat/qt5","source":"RHSA-2022:8022"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-rpm-macros","purl":"pkg:rpm/redhat/qt5-rpm-macros","source":"RHSA-2022:8022"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-srpm-macros","purl":"pkg:rpm/redhat/qt5-srpm-macros","source":"RHSA-2022:8022"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5-devel","purl":"pkg:rpm/redhat/qt5-devel","source":"RHSA-2022:8022"},{"ecosystem":"Rocky Linux:8","fixed":["0:5.15.3-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5","purl":"pkg:rpm/rocky-linux/qt5?distro=rocky-linux-8-x86-64\u0026epoch=0","source":"RLSA-2022:7482"},{"ecosystem":"Rocky Linux:9","fixed":["0:5.15.3-1.el9"],"introduced":["0"],"last_affected":[],"package":"qt5","purl":"pkg:rpm/rocky-linux/qt5?distro=rocky-linux-9-x86-64\u0026epoch=0","source":"RLSA-2022:8022"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.15.2+kde294-4.1"],"introduced":["0"],"last_affected":[],"package":"libqt5-qtbase","purl":"pkg:rpm/opensuse/libqt5-qtbase\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11879-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.2.3-2.1"],"introduced":["0"],"last_affected":[],"package":"qt6-base","purl":"pkg:rpm/opensuse/qt6-base\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11886-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.5.0-1.1"],"introduced":["0"],"last_affected":[],"package":"qutebrowser","purl":"pkg:rpm/opensuse/qutebrowser\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11974-1"}],"prev":{"headline":"PTC Axeda agent and Axeda Desktop Server Improper Check or Handling Of Exceptional Conditions","id":"CVE-2022-25252"},"products":["n/a"],"published":"2022-02-16","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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can execute arbitrary binaries from the current working directory via QProcess, leading to code execution.","url":"https://insights.sbomify.com/CVE-2022-25255/"}