Out-of-Bounds Affecting blueness/sthttpd package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.44% (70th percentile)

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 Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BLUENESSSTHTTPD-2367501
  • published26 Jan 2022
  • disclosed7 Feb 2021
  • creditUnknown

Introduced: 7 Feb 2021

CVE-2021-26843  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

There is no fixed version for blueness/sthttpd.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. An issue was discovered in sthttpd through 2.27.1. On systems where the strcpy function is implemented with memcpy, the de_dotdot function may cause a Denial-of-Service (daemon crash) due to overlapping memory ranges being passed to memcpy. This can triggered with an HTTP GET request for a crafted filename. NOTE: this is similar to CVE-2017-10671, but occurs in a different part of the de_dotdot function.

References

CVSS Base Scores

version 3.1