Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-29403: unexpected behavior of setuid/setgid binaries (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2023-29403: unexpected behavior of setuid/setgid binaries (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
06/08/2023
Created
06/30/2023
Added
06/30/2023
Modified
09/03/2024

Description

On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.

Solution(s)

  • redhat-upgrade-delve
  • redhat-upgrade-delve-debuginfo
  • redhat-upgrade-delve-debugsource
  • redhat-upgrade-go-toolset
  • redhat-upgrade-golang
  • redhat-upgrade-golang-bin
  • redhat-upgrade-golang-docs
  • redhat-upgrade-golang-misc
  • redhat-upgrade-golang-race
  • redhat-upgrade-golang-src
  • redhat-upgrade-golang-tests

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

;