UBUNTU-CVE-2024-24789
The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.
02 / AFFECTED SOFTWARE
Affected packages
1 explicit affected versions
2 explicit affected versions
8 explicit affected versions
10 explicit affected versions
9 explicit affected versions
2 explicit affected versions
2 explicit affected versions
2 explicit affected versions
5 explicit affected versions
7 explicit affected versions
2 explicit affected versions
2 explicit affected versions
1 explicit affected versions
10 explicit affected versions
6 explicit affected versions
4 explicit affected versions
1 explicit affected versions
4 explicit affected versions
2 explicit affected versions
2 explicit affected versions
3 explicit affected versions
4 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.
05 / REFERENCES
Further evidence
- https://github.com/golang/go/commit/c8e40338cf00f3c1d86c8fb23863ad67a4c72bcc
- https://github.com/golang/go/commit/cf501ac0c5fe351a8582d20b43562027927906e7
- https://github.com/golang/go/issues/66869
- https://go.dev/cl/585397
- https://go.dev/issue/66869
- https://groups.google.com/g/golang-announce/c/XbxouI9gY7k
- https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ
- https://pkg.go.dev/vuln/GO-2024-2888
- https://ubuntu.com/security/CVE-2024-24789
- https://ubuntu.com/security/notices/USN-6886-1
- https://ubuntu.com/security/notices/USN-7109-1
- https://ubuntu.com/security/notices/USN-7111-1
- https://www.cve.org/CVERecord?id=CVE-2024-24789