Local Information Disclosure Vulnerability in Netty on Unix-Like systems due temporary files
CVSS score
6.2
EPSS probability
%1.8
Risk score
0.1
Published
5 y ago
Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2021-21290 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. When netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method "File.createTempFile" on unix-like systems creates a random file, but, by default will create this file with the permissions "-rw-r--r--". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's "AbstractDiskHttpData" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may specify your own "java.io.tmpdir" when you start the JVM or use "DefaultHttpDataFactory.setBaseDir(...)" to set the directory to something that is only readable by the current user.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2021-21290 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | netty | netty | View |
| 2 | netty | netty | View |
| 3 | debian | debian linux | View |
| 4 | debian | debian linux | View |
| 5 | quarkus | quarkus | View |
| 6 | oracle | banking corporate lending process management | View |
| 7 | oracle | banking corporate lending process management | View |
| 8 | oracle | banking corporate lending process management | View |
| 9 | oracle | banking credit facilities process management | View |
| 10 | oracle | banking credit facilities process management | View |
| 11 | oracle | banking credit facilities process management | View |
| 12 | oracle | banking trade finance process management | View |
| 13 | oracle | banking trade finance process management | View |
| 14 | oracle | banking trade finance process management | View |
| 15 | oracle | communications brm - elastic charging engine | View |
| 16 | oracle | communications design studio | View |
| 17 | oracle | communications messaging server | View |
| 18 | oracle | nosql database | View |
| 19 | netapp | active iq unified manager | View |
| 20 | netapp | cloud secure agent | View |
| 21 | netapp | snapcenter | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 6.2 | CVSS V31 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| 6.2 | CVSS V3_1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CVE CNA |
| 5.5 | CVSS V31 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| 1.9 | CVSS V2 | — | AV:L/AC:M/Au:N/C:P/I:N/A:N | NVD |
Patch and Remediation Guide
Solution & Remediation Advisory
4 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21290 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-21290 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
Improper input validation in Apache Log4j
Improper access control in N/a
Improper authentication in Oracle Corporation Oracle Concurrent Processing
Vulnerability in Apache Tomcat
Path traversal in N/a
Vulnerability in GNU Inetutils
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.enginteksut.com.tr/api/v1/intel/cves/CVE-2021-21290"