{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-40139 in the wild since at least 15 Sep 2022.","fix":"No fix has been published for CVE-2022-40139 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 6 Oct 2022.","what":"CVE-2022-40139 is a high-severity code injection vulnerability in Trendmicro Apex One, published on 19 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40139 and fix it if it is affected.\n\nWhat it is: CVE-2022-40139 is a high-severity code injection vulnerability in Trendmicro Apex One, published on 19 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-40139 in the wild since at least 15 Sep 2022.\n\nAffected product: Trendmicro Apex One. 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-40139/ (Markdown: https://insights.sbomify.com/CVE-2022-40139/index.md)","id":"CVE-2022-40139","markdown":"https://insights.sbomify.com/CVE-2022-40139/index.md","name":"CVE-2022-40139","record":{"aliases":["GHSA-6h63-j29f-rv95"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Endpoint security agent","requires_auth":"high_privilege","summary":"A server administrator can instruct clients to download unverified rollback packages, leading to remote code execution on the client.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"trendmicro","cpe":[{"product":"apex_one","vendor":"trendmicro"}],"cvss":{"score":7.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Improper validation of some components used by the rollback mechanism in Trend Micro Apex One and Trend Micro Apex One as a Service clients could allow a Apex One server administrator to instruct affected clients to download an unverified rollback package, which could lead to remote code execution. Please note: an attacker must first obtain Apex One server administration console access in order to exploit this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Trend Micro Apex One and Apex One as a Service Improper Validation","id":"CVE-2022-40139","indexable":true,"kev":{"dateAdded":"2022-09-15","dueDate":"2022-10-06","knownRansomwareCampaignUse":"Unknown","product":"Apex One and Apex One as a Service","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Trend Micro","vulnerabilityName":"Trend Micro Apex One and Apex One as a Service Improper Validation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"trendmicro:apex_one","products":["trendmicro:apex_one"],"type":"code_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Other in Trend Micro Apex One","id":"CVE-2022-40140"},"packages":[],"prev":{"headline":"Integer overflow in Hermes","id":"CVE-2022-40138"},"products":["Trend Micro Apex One"],"published":"2022-09-19","related":[{"cvss_score":9.8,"headline":"Trend Micro Apex One and OfficeScan Authentication Bypass","id":"CVE-2020-8599","kev_date_added":"2021-11-03","published":"2020-03-18"},{"cvss_score":9.4,"headline":"Trend Micro Apex One OS Command Injection","id":"CVE-2025-54948","kev_date_added":"2025-08-18","published":"2025-08-05"},{"cvss_score":8.8,"headline":"Trend Micro Multiple Products Improper Input Validation","id":"CVE-2021-36741","kev_date_added":"2021-11-03","published":"2021-07-29"},{"cvss_score":8.8,"headline":"Trend Micro Apex One and OfficeScan Remote Code Execution","id":"CVE-2020-8467","kev_date_added":"2021-11-03","published":"2020-03-18"},{"cvss_score":8.8,"headline":"Trend Micro Multiple Products Content Validation Escape","id":"CVE-2020-8468","kev_date_added":"2021-11-03","published":"2020-03-18"},{"cvss_score":7.8,"headline":"Trend Micro Multiple Products Improper Input Validation","id":"CVE-2021-36742","kev_date_added":"2021-11-03","published":"2021-07-29"},{"cvss_score":7.8,"headline":"Trend Micro Multiple Products Improper Access Control","id":"CVE-2020-24557","kev_date_added":"2021-11-03","published":"2020-09-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Trend Micro"]},"summary":"A server administrator can instruct clients to download unverified rollback packages, leading to remote code execution on the client.","url":"https://insights.sbomify.com/CVE-2022-40139/"}