MODERATE 5.3
CVE-2020-29582
Incorrect Default Permissions in JetBrains Kotlin
Description
In JetBrains Kotlin before 1.4.21, a vulnerable Java API was used for temporary file and folder creation. An attacker was able to read data from such files and list directories due to insecure permissions.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jetbrains.kotlin » kotlin-stdlib | < 1.4.21 | 1.4.21 |
Blast radius
1affected artifacts
2,241affected versions
46,505dependent artifacts (est.)
1,171,152dependent versions
60% of the dependent artifacts (28,341) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 382,573 |
| 2 hops | 422,615 |
| 3 hops | 179,018 |
| 4 hops | 114,230 |
| 5 hops | 46,504 |
| 6 hops | 26,212 |
Most used dependents
- org.jetbrains.kotlin » kotlin-stdlib-jdk839,735 usages
- org.junit.jupiter » junit-jupiter25,826 usages
- org.junit.jupiter » junit-jupiter-engine23,281 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.jetbrains.kotlinx » kotlinx-coroutines-core-jvm18,062 usages
- com.squareup.okhttp3 » okhttp16,539 usages
- org.jetbrains.kotlinx » kotlinx-coroutines-core16,345 usages
- org.jetbrains.kotlin » kotlin-reflect13,815 usages
- androidx.core » core-ktx13,814 usages
- org.jetbrains.kotlinx » kotlinx-serialization-json-jvm10,831 usages
- org.jetbrains.kotlin » kotlin-stdlib-jdk79,876 usages
- org.jetbrains.kotlinx » kotlinx-coroutines-android7,357 usages
- org.jetbrains.kotlinx » kotlinx-serialization-json7,294 usages
- org.jetbrains.kotlin » kotlin-android-extensions-runtime6,517 usages
- com.squareup.okhttp3 » logging-interceptor5,859 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-29582
- Webhttps://blog.jetbrains.com
- Webhttps://blog.jetbrains.com/blog/2021/02/03/jetbrains-security-bulletin-q4-2020
- Webhttps://lists.apache.org/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe@%3Cusers.kafka.apache.org%3E
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
