Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. uwebsockets
  4. ›
  5. CVE-2021-45945

CVE-2021-45945: Out-of-bounds Write

January 1, 2022 (updated January 10, 2022)

uWebSockets has an out-of-bounds write in std::__1::pair<unsigned int, void*> uWS::HttpParser::fenceAndConsumePostPadded<0 (called from uWS::HttpParser::consumePostPadded and std::__1::__function::__func<LLVMFuzzerTestOneInput::$_0, std::__1::allocator<LL).

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=31457
  • github.com/google/oss-fuzz-vulns/blob/main/vulns/uwebsockets/OSV-2021-453.yaml
  • github.com/uNetworking/uWebSockets/commit/4e4fd20b8ce03b30810cdb49b6237fb475c5ae05
  • nvd.nist.gov/vuln/detail/CVE-2021-45945

Code Behaviors & Features

Detect and mitigate CVE-2021-45945 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 19.0.0 up to 20.8.0

Fixed versions

  • 20.9.0

Solution

Upgrade to version 20.9.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/uwebsockets/CVE-2021-45945.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.