{"answers":{"affected":"5 open source packages ship an affected version, including org.apache.flink:flink-runtime_2.11, flink and org.apache.flink:flink-runtime_2.12. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-17519 in the wild since at least 23 May 2024.","fix":"Upgrade org.apache.flink:flink-runtime_2.11 to 1.11.3 or later. US federal agencies must fix it by 13 Jun 2024.","what":"CVE-2020-17519 is a critical path traversal vulnerability in Apache Flink, published on 5 Jan 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-2020-17519 and fix it if it is affected.\n\nWhat it is: CVE-2020-17519 is a critical path traversal vulnerability in Apache Flink, published on 5 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-17519 in the wild since at least 23 May 2024.\n\nAffected packages and fixed versions:\n- org.apache.flink:flink-runtime_2.11 (Maven): affected from 1.11.0; fixed in 1.11.3\n- org.apache.flink:flink-runtime_2.11 (Maven): affected from 1.11.0; fixed in 1.11.3\n- flink (Bitnami): affected from 1.11.0; fixed in 1.11.3\n- org.apache.flink:flink-runtime_2.12 (Maven): affected from 1.11.0; fixed in 1.11.3\n- org.apache.flink:flink-runtime_2.12 (Maven): affected from 1.11.0; fixed in 1.11.3\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-2020-17519/ (Markdown: https://insights.sbomify.com/CVE-2020-17519/index.md)","id":"CVE-2020-17519","markdown":"https://insights.sbomify.com/CVE-2020-17519/index.md","name":"CVE-2020-17519","record":{"aliases":["BIT-flink-2020-17519","GHSA-395w-qhqr-9fr6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Flink","requires_auth":"none","summary":"Attackers can read arbitrary files on the JobManager filesystem via the REST API, exposing sensitive data to unauthorized users.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"flink","vendor":"apache"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"A change introduced in Apache Flink 1.11.0 (and released in 1.11.1 and 1.11.2 as well) allows attackers to read any file on the local filesystem of the JobManager through the REST interface of the JobManager process. Access is restricted to files accessible by the JobManager process. All users should upgrade to Flink 1.11.3 or 1.12.0 if their Flink instance(s) are exposed. The issue was fixed in commit b561010b0ee741543c3953306037f00d7a9f0801 from apache/flink:master.","ecosystems":["Bitnami","Maven"],"exploits":{"exploitdb":1,"first_seen":"2021-01-05","github_poc":14,"max_poc_stars":61,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-10-13T17:03:56Z","kind":"github_poc","ref":"https://github.com/MrCl0wnLab/SimplesApachePathTraversal","stars":61,"title":"Tool check: CVE-2021-41773, CVE-2021-42013, CVE-2020-17519"},{"date":"2021-01-06T02:15:39Z","kind":"github_poc","ref":"https://github.com/B1anda0/CVE-2020-17519","stars":47,"title":"Apache Flink 目录遍历漏洞批量检测 (CVE-2020-17519)"},{"date":"2021-01-10T01:24:50Z","kind":"github_poc","ref":"https://github.com/murataydemir/CVE-2020-17519","stars":8,"title":"[CVE-2020-17519] Apache Flink RESTful API Arbitrary File Read"},{"date":"2021-01-06T16:03:06Z","kind":"github_poc","ref":"https://github.com/dolevf/apache-flink-directory-traversal.nse","stars":3,"title":"Apache Flink Directory Traversal (CVE-2020-17519) Nmap NSE Script"},{"date":"2021-01-06T13:41:24Z","kind":"github_poc","ref":"https://github.com/QmF0c3UK/CVE-2020-17519","stars":1,"title":null},{"date":"2021-01-18T02:03:05Z","kind":"github_poc","ref":"https://github.com/yaunsky/CVE-2020-17519-Apache-Flink","stars":1,"title":"CVE-2020-17519; Apache Flink 任意文件读取; 批量检测"},{"date":"2021-04-13T11:38:18Z","kind":"github_poc","ref":"https://github.com/givemefivw/CVE-2020-17519","stars":1,"title":"CVE-2020-17519 Cheetah"},{"date":"2021-01-05","kind":"metasploit","ref":"auxiliary/scanner/http/apache_flink_jobmanager_traversal","stars":null,"title":"Apache Flink JobManager Traversal"}],"tier":"exploited"},"has_fix":true,"headline":"Apache Flink Improper Access Control","id":"CVE-2020-17519","indexable":true,"kev":{"dateAdded":"2024-05-23","dueDate":"2024-06-13","knownRansomwareCampaignUse":"Unknown","product":"Flink","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Apache","vulnerabilityName":"Apache Flink Improper Access Control Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":5,"n_references":17,"next":{"headline":"Auth bypass in Pulsar Manager","id":"CVE-2020-17520"},"packages":[{"ecosystem":"Bitnami","fixed":["1.11.3"],"introduced":["1.11.0"],"last_affected":[],"package":"flink","purl":"pkg:bitnami/flink","source":"BIT-flink-2020-17519"},{"ecosystem":"Maven","fixed":["1.11.3"],"introduced":["1.11.0"],"last_affected":[],"package":"org.apache.flink:flink-runtime_2.11","purl":null,"source":"GHSA-395w-qhqr-9fr6"},{"ecosystem":"Maven","fixed":["1.11.3"],"introduced":["1.11.0"],"last_affected":[],"package":"org.apache.flink:flink-runtime_2.11","purl":"pkg:maven/org.apache.flink/flink-runtime_2.11","source":"GHSA-395w-qhqr-9fr6"},{"ecosystem":"Maven","fixed":["1.11.3"],"introduced":["1.11.0"],"last_affected":[],"package":"org.apache.flink:flink-runtime_2.12","purl":null,"source":"GHSA-395w-qhqr-9fr6"},{"ecosystem":"Maven","fixed":["1.11.3"],"introduced":["1.11.0"],"last_affected":[],"package":"org.apache.flink:flink-runtime_2.12","purl":"pkg:maven/org.apache.flink/flink-runtime_2.12","source":"GHSA-395w-qhqr-9fr6"}],"prev":{"headline":"Apache Flink directory traversal attack: remote file writing through the REST API","id":"CVE-2020-17518"},"products":["Apache Flink"],"published":"2021-01-05","related":[{"cvss_score":8.1,"headline":"Apache Flink: Remote code execution via SQL injection in code generation","id":"CVE-2026-35194","kev_date_added":null,"published":"2026-05-15"},{"cvss_score":7.5,"headline":"Apache Flink directory traversal attack: remote file writing through the REST API","id":"CVE-2020-17518","kev_date_added":null,"published":"2021-01-05"},{"cvss_score":4.7,"headline":"Command injection in Apache Flink","id":"CVE-2020-1960","kev_date_added":null,"published":"2020-05-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can read arbitrary files on the JobManager filesystem via the REST API, exposing sensitive data to unauthorized users.","url":"https://insights.sbomify.com/CVE-2020-17519/"}