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

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 ID SNYK-GOLANG-GITHUBCOMLANDLOCKLSMGOLANDLOCKLANDLOCK-8188976
  • published 15 Oct 2024
  • disclosed 14 Oct 2024
  • credit Unknown

Introduced: 14 Oct 2024

CVE NOT AVAILABLE CWE-284 Open this link 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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None