Improper Access Control Affecting github.com/landlock-lsm/go-landlock/landlock package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMLANDLOCKLSMGOLANDLOCKLANDLOCK-8188976
  • published15 Oct 2024
  • disclosed14 Oct 2024
  • creditUnknown

Introduced: 14 Oct 2024

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to the incorrect handling of TCP bind() and connect() operations in the BestEffort mode. An attacker can bypass intended networking (through landlock.V4, landlock.V5, or self-configured) restrictions by exploiting the lack of proper restrictions in this mode.

This is only exploitable if the user employs Landlock rulesets intended to restrict networking and uses them in best-effort mode.

Note: This vulnerability was fixed in version v0.0.0-20241013234402-fb3ad845df46

References

CVSS Scores

version 4.0
version 3.1