Please release 1.3.1 to fix CVE-2023-45853 (9.8 CRITICAL)
@madler
It looks like the fix is already in develop: See https://github.com/madler/zlib/pull/843 and https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c
We only new a new release :)
See also: https://nvd.nist.gov/vuln/detail/CVE-2023-45853
@madler: Can you do it?
Thanks in advance.
Linked to:
- https://github.com/search?q=CVE-2023-45853&type=issues
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054290
- https://www.google.com/search?q=CVE-2023-45853
- ...
cc: @gvollant, @madler.
Any expected timeline for a fix for CVE-2023-45853?
I may put out a release soon, but please note that minizip is not part of zlib. The source code is provided in the contrib directory of the zlib distribution, along with several other such contributions, as a courtesy. This is not a zlib vulnerability.
I may put out a release soon, but please note that minizip is not part of zlib. The source code is provided in the contrib directory of the zlib distribution, along with several other such contributions, as a courtesy. This is not a zlib vulnerability.
Sure, but the problem is, that zlib is bundled with minizip in most of the linux distributions (Ubuntu, Debian ...). So the zlib package is affected by this CVE and is marked as critical by the vulnerability scanners like Trivia. In our case, it is currently not possible to deploy a Docker image because Trivia and our customers' security policies prohibit deployment due to the critical CVE it contains.
So can you please release 1.3.1 with the fix?
@madler: I think that you can create a GitHub organization for zlib, and move contrib in external repository, it will be better to manage :)
In the Debian package, the source code to minizip is bundled as the /usr/share/doc/zlib1g-dev/examples/minigzip.c. Why is the presence of a source code file, from which a vulnerable binary must first be compiled and linked before the vulnerability becomes exploitable, considered of critical severity?
For whatever reason we also ship a binary of minizip as a separate package, and there's some other packages have copied the source.
The CVE should then be assigned to that package, not zlib, no?
The CVE is assigned to the source package from which all the binary packages are built.
Got it. My vulnerability scanner (Docker Desktop) flags debian/zlib 1:1.2.11.dfsg-2+deb11u2 as vulnerable to that CVE, even if I manually remove /usr/share/doc/zlib1g-dev/examples/minigzip.c from the image, but I guess that's a bug in Docker Desktop.
Got it. My vulnerability scanner (Docker Desktop) flags
debian/zlib 1:1.2.11.dfsg-2+deb11u2as vulnerable to that CVE, even if I manually remove/usr/share/doc/zlib1g-dev/examples/minigzip.cfrom the image, but I guess that's a bug in Docker Desktop.
@hannes-ucsc The scanners do not work like this. The scanners use a database containing vulnerable packages with the affected version numbers. Scanning is based on this catalog. If a package with a correspondingly vulnerable version is found, a message is issued. It does not matter whether you have compiled the package manually and perhaps patched it. Most of the databases are base of the information from NIST.
I may put out a release soon, but please note that minizip is not part of zlib. The source code is provided in the contrib directory of the zlib distribution, along with several other such contributions, as a courtesy. This is not a zlib vulnerability.
Is there an ETA for the release?
@madler: I have sent you an email, important, thanks in advance.
@madler - thanks for fixing this issue, any ETA for patch or any workaround to remediate this issue. CVE-2023-45853
I may put out a release soon, but please note that minizip is not part of zlib. The source code is provided in the contrib directory of the zlib distribution, along with several other such contributions, as a courtesy. This is not a zlib vulnerability.
Understood.
Note, that a new release will fix quite a number of build issues automagically, that still expect a 3 element version of zlib everywhere (most notably cmake, again).
@frispete: It is not zlib but it is included with it. I have sent an email to @madler with a solution, I have not received answer yet...
This is not a zlib vulnerability
@madler : I do appreciate this, but like someone else mentioned, it is bundled with minizip in most distros which is a problem.
So for us also our security scanner is flagging zlib as having a Critical, and without new release of zlib, there is also no new release of our AmazonCorretto linux base image, and hence we are stuck with the Critical and our SLA goes to sh*t. I mostly blame Docker hub for this as their vulnerability scanner is **** listing the corretto image we are using as completely free of vulnerabilities while other scanners (like AWS) find a critical and 4 High... go figure...
If a new release is a small effort on your part, it will be a huge relief for many of us that indirectly rely on it.
Is there an ETA for the release @madler ? Even a rough estimate would help understand timelines for people who have applications running in QA and PROD.
Thanks in advance!
In the minizip header files different minizip version numbers are mentioned.
- Version 1.01e, February 12th, 2005 (crypt.h)
- Version 1.1, February 14h, 2010 (zip.h)
Do you plan to update the minizip version information?