CVE-2020-17519Apache Flink Improper Access Control Vulnerability
CVSS score
7.5
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
98.0%
98.0% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 23 May 2024.
US federal deadline to fix: 13 Jun 2024.
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 23 May 2024.
US federal agencies must fix it by 13 Jun 2024. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Apache Flink and compare its version with the affected versions.
Update to a fixed version
- Update Flink to 1.11.3 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- lists.apache.org/thread.html/r4e1b72bfa789ea5bc20b8afe56119200ed25bdab0eb80d664fa5bfe2%40%3Cdev.flink.apache.org%3E
- lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cannounce.apache.org%3E
- lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E
- lists.apache.org/thread.html/r88b55f3ebf1f8f4e1cc61f030252aaef4b77060b56557a243abb92a1%40%3Cissues.flink.apache.org%3E
- lists.apache.org/thread.html/r88f427865fb6aa6e6378efe07632a1906b430365e15e3b9621aabe1d%40%3Cissues.flink.apache.org%3E
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| Apache Flink | ≥ 1.11.0, < 1.11.3 · ≥ 1.11.0, ≤ 1.11.2 |
| Apache Apache Flink | Apache Flink 1.11.0 to 1.11.2 |
Weakness
- CWE-552 files or directories accessible to external parties
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2020-17519 being exploited?
Yes. CISA added CVE-2020-17519 to its Known Exploited Vulnerabilities catalog on 23 May 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 98.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2020-17519?
CVE-2020-17519 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Apache Flink (≥ 1.11.0, < 1.11.3; ≥ 1.11.0, ≤ 1.11.2), Apache Apache Flink (Apache Flink 1.11.0 to 1.11.2)
Is there a patch for CVE-2020-17519?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread.html/r4e1b72bfa789ea5bc20b8afe56119200ed25bdab0eb80d664fa5bfe2%40%3Cdev.flink.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cannounce.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r88b55f3ebf1f8f4e1cc61f030252aaef4b77060b56557a243abb92a1%40%3Cissues.flink.apache.org%3E(Mailing List, Vendor Advisory)
- lists.apache.org/thread.html/r88f427865fb6aa6e6378efe07632a1906b430365e15e3b9621aabe1d%40%3Cissues.flink.apache.org%3E(Mailing List, Vendor Advisory)
- packetstormsecurity.com/files/160849/Apache-Flink-1.11.0-Arbitrary-File-Read-Directory-Traversal.html(Exploit, Third Party Advisory, VDB Entry)
- www.openwall.com/lists/oss-security/2021/01/05/2(Mailing List, Third Party Advisory)
- lists.apache.org/thread.html/r0a433be10676f4fe97ca423d08f914e0ead341c901216f292d2bbe83%40%3Cissues.flink.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r229167538863518738e02f4c1c5a8bb34c1d45dadcc97adf6676b0c1%40%3Cdev.flink.apache.org%3E(Issue Tracking)
- lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d%40%3Cuser-zh.flink.apache.org%3E(Issue Tracking)
- lists.apache.org/thread.html/r28f17e564950d663e68cc6fe75756012dda62ac623766bb9bc5e7034%40%3Cissues.flink.apache.org%3E(Issue Tracking)
- lists.apache.org/thread.html/r2fc60b30557e4a537c2a6293023049bd1c49fd92b518309aa85a0398%40%3Cissues.flink.apache.org%3E(Issue Tracking)
- lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cuser.flink.apache.org%3E(Issue Tracking)
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E(Mailing List, Not Applicable)
- lists.apache.org/thread.html/ra8c96bf3ccb4e491f9ce87ba35f134b4449beb2a38d1ce28fd89001f%40%3Cdev.flink.apache.org%3E(Issue Tracking)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17519(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.