CVE-2022-23596
Junrar vulnerable to infinite loop via extracting carefully crafted RAR archive
Description
Impact
A carefully crafted RAR archive can trigger an infinite loop while extracting said archive. The impact depends solely on how the application uses the library, and whether files can be provided by malignant users.
Patches
The problem is partially patched in 7.4.1
Workarounds
None
References
https://github.com/junrar/junrar/issues/73
https://github.com/junrar/junrar/issues/81
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.github.junrar » junrar | < 7.4.1 | 7.4.1 |
Blast radius
53% of the dependent artifacts (958) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 469 |
| 2 hops | 8,922 |
| 3 hops | 11,895 |
| 4 hops | 18,866 |
| 5 hops | 25,409 |
| 6 hops | 17,857 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.tika » tika-parsers-standard-package178 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.jmeter » ApacheJMeter_core149 usages
- org.opencms » opencms-core134 usages
- org.alfresco » alfresco-repository121 usages
- org.jahia.server » jahia-impl120 usages
- org.onehippo.cms7 » hippo-cms-api119 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- fr.paris.lutece » lutece-core94 usages
- org.apache.jmeter » ApacheJMeter_components89 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
| Advisory | NVD CVE-2022-23596 | nvd.nist.gov |
| Package | junrar/junrar | github.com |
| Web | junrar/junrar advisory GHSA-m6cj-93v6-cvr5 | github.com |
| Web | junrar/junrar issue #73 | github.com |
| Web | junrar/junrar commit 7b16b3d | github.com |
