NULL Pointer Dereference Affecting github.com/versity/versitygw/s3api/middlewares package, versions <1.0.17


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMVERSITYVERSITYGWS3APIMIDDLEWARES-12301713
  • published31 Aug 2025
  • disclosed29 Aug 2025
  • credittonyipm

Introduced: 29 Aug 2025

New CVE NOT AVAILABLE CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/versity/versitygw/s3api/middlewares to version 1.0.17 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the wrapBodyReader function in the body-reader.go. An attacker can cause the server to panic and crash by sending specially crafted AWS chunked data without a Content-Length header via a reverse proxy such as nginx.

CVSS Base Scores

version 4.0
version 3.1