Description
A vulnerability, which was classified as critical, was found in hughsk flat up to 5.0.0. This affects the function unflatten of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). It is possible to initiate the attack remotely. Upgrading to version 5.0.1 is able to address this issue. The name of the patch is 20ef0ef55dfa028caddaedbcb33efbdb04d18e13. It is recommended to upgrade the affected component. The identifier VDB-216777 was assigned to this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| hughsk | flat | 5.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | qt6-webengine | No fix yet | — |
| Ubuntu 26.04 LTS | qt6-webengine | No fix yet | — |
| Ubuntu 25.10 | qt6-webengine | No fix yet | — |
| Ubuntu 24.04 LTS | qt6-webengine | No fix yet | — |
| Ubuntu 22.04 LTS | qt6-webengine | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | flat | < 1.6.2 | 1.6.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 2.0.0, < 2.0.2 | 2.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 3.0.0, < 3.0.1 | 3.0.1 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-2j2x-2gpw-g8fm |
| npm | flat | >= 5.0.0, < 5.0.1 | 5.0.1 | GHSA-2j2x-2gpw-g8fm |
References
- https://vuldb.com/?id.216777 vdb-entry technical-description
- https://vuldb.com/?ctiid.216777 signature permissions-required
- https://github.com/hughsk/flat/issues/105 issue-tracking
- https://github.com/hughsk/flat/pull/106 issue-tracking
- https://github.com/hughsk/flat/commit/20ef0ef55dfa028caddaedbcb33efbdb04d18e13 patch
- https://github.com/hughsk/flat/releases/tag/5.0.1 patch