Dart SDK and Flutter SDK have Zip slip in Dart Pub package extraction
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| dart-lang | sdk | affected |
|
||||||
| dart-lang | flutter | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dart-lang | Flutter |
|
||||||||
| Dart-lang | Sdk |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.408% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dart
Dart dart Software Development Kit Flutter Flutter flutter |
|
| CPEs | cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:* cpe:2.3:a:flutter:flutter:*:*:*:*:*:*:*:* |
|
| Vendors & Products |
Dart
Dart dart Software Development Kit Flutter Flutter flutter |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dart-lang
Dart-lang flutter Dart-lang sdk |
|
| Vendors & Products |
Dart-lang
Dart-lang flutter Dart-lang sdk |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The Dart and Flutter SDKs provide software development kits for the Dart programming language. In versions of the Dart SDK prior to 3.11.0 and the Flutter SDK prior to version 3.41.0, when the pub client (`dart pub` and `flutter pub`) extracts a package in the pub cache, a malicious package archive can have files extracted outside the destination directory in the `PUB_CACHE`. A fix has been landed in commit 26c6985c742593d081f8b58450f463a584a4203a. By normalizing the file path before writing file, the attacker can no longer traverse up via a symlink. This patch is released in Dart 3.11.0 and Flutter 3.41.0.vAll packages on pub.dev have been vetted for this vulnerability. New packages are no longer allowed to contain symlinks. The pub client itself doesn't upload symlinks, but duplicates the linked entry, and has been doing this for years. Those whose dependencies are all from pub.dev, third-party repositories trusted to not contain malicious code, or git dependencies are not affected by this vulnerability. | |
| Title | Dart SDK and Flutter SDK have Zip slip in Dart Pub package extraction | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|