Skip to content

Conversation

@ksykulev
Copy link
Contributor

#8593

Here is the changeset:
madler/zlib@v1.3...v1.3.1

"version": "1.3",
"commit": "09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851",
"ignored-cves": [
"CVE-2023-45853"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

1.3.1 also fixes this CVE madler/zlib#868 (comment)

Copy link
Contributor

@lucasmrod lucasmrod left a comment

Choose a reason for hiding this comment

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

LGTM! (I can help smoke test builds if needed.)

@ksykulev
Copy link
Contributor Author

ksykulev commented Jun 10, 2025

Doesn't look like there is a whole bunch of uses currently.

During office hours we discussed whether or not we want to sneak this into the upcoming 5.18 release, and the consensus seemed like no. So gives me a bit more time to test on windows/linux.

$ grep -ir 'zlib' osquery/
osquery/tables/system/tests/linux/rpm_packages_tests.cpp:      {"zlib-devel", "1.2.11", "202827943881ba133a7e8ca91290dcc71083a8e1"},
osquery/remote/CMakeLists.txt:    thirdparty_zlib
osquery/remote/tests/requests_tests.cpp:   * Reference: http://www.zlib.org/rfc-gzip.html
osquery/remote/tests/requests_tests.cpp:   * https://github.com/madler/zlib/blob/master/zutil.h#L86
osquery/remote/requests.cpp:#include <zlib.h>
osquery/remote/requests.cpp:#define MOD_GZIP_ZLIB_WINDOWSIZE 15
osquery/remote/requests.cpp:#define MOD_GZIP_ZLIB_CFACTOR 9
osquery/remote/requests.cpp:                   MOD_GZIP_ZLIB_WINDOWSIZE + 16,
osquery/remote/requests.cpp:                   MOD_GZIP_ZLIB_CFACTOR,
$ grep -ir 'compressString' osquery/
osquery/remote/requests.h:std::string compressString(const std::string& data);
osquery/remote/transports/tls.cpp:      response_ = client->post(r, (compress) ? compressString(params) : params);
osquery/remote/transports/tls.cpp:      response_ = client->put(r, (compress) ? compressString(params) : params);
osquery/remote/tests/requests_tests.cpp:    response_status_ = Status(0, (compress) ? compressString(params) : params);
osquery/remote/requests.cpp:std::string compressString(const std::string& data) {

@zwass zwass merged commit 12264c6 into osquery:master Jun 18, 2025
22 checks passed
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.

3 participants