Privilege Dropping / Lowering Errors Affecting github.com/apptainer/apptainer/internal/pkg/runtime/engine package, versions <1.2.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (26th 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 IDSNYK-GOLANG-GITHUBCOMAPPTAINERAPPTAINERINTERNALPKGRUNTIMEENGINE-5805381
  • published26 Jul 2023
  • disclosed26 Jul 2023
  • creditUnknown

Introduced: 26 Jul 2023

CVE-2023-38496  (opens in a new tab)
CWE-271  (opens in a new tab)

How to fix?

Upgrade github.com/apptainer/apptainer/internal/pkg/runtime/engine to version 1.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Dropping / Lowering Errors when requesting container network setup, therefore subsequent functions are called with root privileges, the attack surface is rather limited for users, but an attacker could possibly craft a starter config to delete any directory on the host filesystems.

CVSS Scores

version 3.1