Improper Input Validation Affecting github.com/snapcore/snapd/cmd/snap-seccomp package, versions <2.60.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.12% (33rd 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSNAPCORESNAPDCMDSNAPSECCOMP-5885140
  • published7 Sept 2023
  • disclosed1 Sept 2023
  • creditUnknown

Introduced: 1 Sep 2023

CVE-2023-1523  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/snapcore/snapd/cmd/snap-seccomp to version 2.60.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via the TIOCLINUX ioctl request. An attacker can inject contents into the input of the controlling terminal which could allow them to cause arbitrary commands to be executed outside of the sandbox after the application exits. This is only exploitable if the application is run on a virtual console. Graphical terminal emulators like xterm, gnome-terminal and others are not affected.

CVSS Base Scores

version 3.1