Skip to content

[Security] Bump aircompressor and commons-compress to fix cve problems#3863

Merged
JingsongLi merged 6 commits intoapache:masterfrom
Smith-Cruise:fix-cve
Aug 13, 2024
Merged

[Security] Bump aircompressor and commons-compress to fix cve problems#3863
JingsongLi merged 6 commits intoapache:masterfrom
Smith-Cruise:fix-cve

Conversation

@Smith-Cruise
Copy link
Copy Markdown
Contributor

┌────────────────────────────────────────────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬─────────────────────────────────────────────────────────────┐
│                      Library                       │ Vulnerability  │ Severity │ Status │ Installed Version │ Fixed Version │                            Title                            │
├────────────────────────────────────────────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ io.airlift:aircompressor (paimon-bundle-0.8.2.jar) │ CVE-2024-36114 │ HIGH     │ fixed  │ 0.21              │ 0.27          │ Decompressors can crash the JVM and leak memory content in  │
│                                                    │                │          │        │                   │               │ Aircompressor                                               │
│                                                    │                │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-36114                  │
├────────────────────────────────────────────────────┼────────────────┤          │        ├───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ org.apache.commons:commons-compress                │ CVE-2024-25710 │          │        │ 1.22              │ 1.26.0        │ commons-compress: Denial of service caused by an infinite   │
│ (paimon-bundle-0.8.2.jar)                          │                │          │        │                   │               │ loop for a corrupted...                                     │
│                                                    │                │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-25710                  │
│                                                    ├────────────────┤          │        │                   │               ├─────────────────────────────────────────────────────────────┤
│                                                    │ CVE-2024-26308 │          │        │                   │               │ commons-compress: OutOfMemoryError unpacking broken Pack200 │
│                                                    │                │          │        │                   │               │ file                                                        │
│                                                    │                │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-26308                  │
│                                                    ├────────────────┼──────────┤        │                   ├───────────────┼─────────────────────────────────────────────────────────────┤
│                                                    │ CVE-2023-42503 │ MEDIUM   │        │                   │ 1.24.0        │ apache-commons-compress: Denial of service via CPU          │
│                                                    │                │          │        │                   │               │ consumption for malformed TAR file                          │
│                                                    │                │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2023-42503                  │
└────────────────────────────────────────────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴─────────────────────────────────────────────────────────────┘

Purpose

fix it

Tests

API and Format

Documentation


<!-- From paimon-format -->
<!-- From org.apache.avro -->
<dependency>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should bundle this in paimon-format

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean move commons-compress to paimon-format ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Signed-off-by: Smith Cruise <chendingchao1@126.com>
Signed-off-by: Smith Cruise <chendingchao1@126.com>
Signed-off-by: Smith Cruise <chendingchao1@126.com>
Signed-off-by: Smith Cruise <chendingchao1@126.com>
Signed-off-by: Smith Cruise <chendingchao1@126.com>
Signed-off-by: Smith Cruise <chendingchao1@126.com>
@Smith-Cruise
Copy link
Copy Markdown
Contributor Author

for avro, I didn't know why ut can't passed.

I've tried bumping avro to 1.12.0, but ci failed.

Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit 16f3629 into apache:master Aug 13, 2024
@Smith-Cruise Smith-Cruise deleted the fix-cve branch August 13, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants