VULNERABILITY

FreeBSD: VID-26B1100A-5A27-11ED-ABFE-29AC76EC31B5 (CVE-2022-41716): go -- syscall, os/exec: unsanitized NUL in environment variables

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

FreeBSD: VID-26B1100A-5A27-11ED-ABFE-29AC76EC31B5 (CVE-2022-41716): go -- syscall, os/exec: unsanitized NUL in environment variables

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:C/A:N)
Published
10/17/2022
Created
11/08/2022
Added
11/04/2022
Modified
01/28/2025

Description

Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D".

Solution(s)

  • freebsd-upgrade-package-go118
  • freebsd-upgrade-package-go119

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;