{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3057 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-3057 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-3057 is a high-severity memory corruption vulnerability in Palo Alto Networks GlobalProtect App, published on 13 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3057 and fix it if it is affected.\n\nWhat it is: CVE-2021-3057 is a high-severity memory corruption vulnerability in Palo Alto Networks GlobalProtect App, published on 13 Oct 2021. 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-2021-3057 in the wild and no public exploit code.\n\nAffected product: Palo Alto Networks GlobalProtect App. 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-3057/ (Markdown: https://insights.sbomify.com/CVE-2021-3057/index.md)","id":"CVE-2021-3057","markdown":"https://insights.sbomify.com/CVE-2021-3057/index.md","name":"CVE-2021-3057","record":{"aliases":["GHSA-h626-v3v8-8r8x"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"GlobalProtect VPN client","requires_auth":"none","summary":"A man-in-the-middle attacker can trigger a stack-based buffer overflow in the GlobalProtect app to execute arbitrary code with SYSTEM privileges.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"palo_alto","cpe":[{"product":"globalprotect","vendor":"paloaltonetworks"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"A stack-based buffer overflow vulnerability exists in the Palo Alto Networks GlobalProtect app that enables a man-in-the-middle attacker to disrupt system processes and potentially execute arbitrary code with SYSTEM privileges. This issue impacts: GlobalProtect app 5.1 versions earlier than GlobalProtect app 5.1.9 on Windows; GlobalProtect app 5.2 versions earlier than GlobalProtect app 5.2.8 on Windows; GlobalProtect app 5.2 versions earlier than GlobalProtect app 5.2.8 on the Universal Windows Platform; GlobalProtect app 5.3 versions earlier than GlobalProtect app 5.3.1 on Linux.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"GlobalProtect App: Buffer Overflow Vulnerability When Connecting to Portal or Gateway","id":"CVE-2021-3057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"PAN-OS: OS Command Injection Vulnerability in Web Interface XML API","id":"CVE-2021-3058"},"packages":[],"prev":{"headline":"PAN-OS: Memory Corruption Vulnerability in GlobalProtect Clientless VPN During SAML Authentication","id":"CVE-2021-3056"},"products":["GlobalProtect App"],"published":"2021-10-13","related":[{"cvss_score":8.5,"headline":"GlobalProtect: Authenticated Code Injection Through Wildcard on macOS","id":"CVE-2025-4232","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":7.8,"headline":"GlobalProtect App: Local Privilege Escalation (PE) Vulnerability","id":"CVE-2023-0009","kev_date_added":null,"published":"2023-06-14"},{"cvss_score":7.4,"headline":"GlobalProtect App: Privilege Escalation Vulnerability When Using Connect Before Logon","id":"CVE-2022-0016","kev_date_added":null,"published":"2022-02-10"},{"cvss_score":7.1,"headline":"GlobalProtect App: Local Privilege Escalation (PE) Vulnerability","id":"CVE-2025-0120","kev_date_added":null,"published":"2025-04-11"},{"cvss_score":7.1,"headline":"Privilege escalation in GlobalProtect Agent for Linux and OSX","id":"CVE-2019-17436","kev_date_added":null,"published":"2019-10-16"},{"cvss_score":7,"headline":"GlobalProtect App: Improper Link Resolution Vulnerability Leads to Local Privilege Escalation","id":"CVE-2022-0017","kev_date_added":null,"published":"2022-02-10"}],"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":"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-09-17","vendors":["Palo Alto Networks"]},"summary":"A man-in-the-middle attacker can trigger a stack-based buffer overflow in the GlobalProtect app to execute arbitrary code with SYSTEM privileges.","url":"https://insights.sbomify.com/CVE-2021-3057/"}