RHSA-2017:1381

Vulnerability from csaf_redhat - Published: 2017-05-30 17:02 - Updated: 2026-05-13 01:40
Summary
Red Hat Security Advisory: sudo security update
Severity
Important
Notes
Topic: An update for sudo is now available for Red Hat Enterprise Linux 5 Extended Lifecycle Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details: The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root. Security Fix(es): * A flaw was found in the way sudo parsed tty information from the process status file in the proc filesystem. A local user with privileges to execute commands via sudo could use this flaw to escalate their privileges to root. (CVE-2017-1000367) Red Hat would like to thank Qualys Security for reporting this issue.
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

A flaw was found in the way sudo parsed tty information from the process status file in the proc filesystem. A local user with privileges to execute commands via sudo could use this flaw to escalate their privileges to root.

CWE-807 - Reliance on Untrusted Inputs in a Security Decision
Affected products
Product Identifier Version Remediation
Unresolved product id: 5Server-ELS:sudo-0:1.7.2p1-30.el5_11.i386 —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-0:1.7.2p1-30.el5_11.s390x —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-0:1.7.2p1-30.el5_11.src —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-0:1.7.2p1-30.el5_11.x86_64 —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.i386 —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x —
Vendor Fix fix
Unresolved product id: 5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64 —
Vendor Fix fix
Threats
Impact Important
Acknowledgments

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for sudo is now available for Red Hat Enterprise Linux 5 Extended Lifecycle Support.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root.\n\nSecurity Fix(es):\n\n* A flaw was found in the way sudo parsed tty information from the process status file in the proc filesystem. A local user with privileges to execute commands via sudo could use this flaw to escalate their privileges to root. (CVE-2017-1000367)\n\nRed Hat would like to thank Qualys Security for reporting this issue.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2017:1381",
        "url": "https://access.redhat.com/errata/RHSA-2017:1381"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "1453074",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1453074"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1381.json"
      }
    ],
    "title": "Red Hat Security Advisory: sudo security update",
    "tracking": {
      "current_release_date": "2026-05-13T01:40:57+00:00",
      "generator": {
        "date": "2026-05-13T01:40:57+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.7.9"
        }
      },
      "id": "RHSA-2017:1381",
      "initial_release_date": "2017-05-30T17:02:16+00:00",
      "revision_history": [
        {
          "date": "2017-05-30T17:02:16+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2017-05-30T17:02:16+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-05-13T01:40:57+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Server (v. 5 ELS)",
                "product": {
                  "name": "Red Hat Enterprise Linux Server (v. 5 ELS)",
                  "product_id": "5Server-ELS",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sudo-0:1.7.2p1-30.el5_11.x86_64",
                "product": {
                  "name": "sudo-0:1.7.2p1-30.el5_11.x86_64",
                  "product_id": "sudo-0:1.7.2p1-30.el5_11.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo@1.7.2p1-30.el5_11?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64",
                "product": {
                  "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64",
                  "product_id": "sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo-debuginfo@1.7.2p1-30.el5_11?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sudo-0:1.7.2p1-30.el5_11.s390x",
                "product": {
                  "name": "sudo-0:1.7.2p1-30.el5_11.s390x",
                  "product_id": "sudo-0:1.7.2p1-30.el5_11.s390x",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo@1.7.2p1-30.el5_11?arch=s390x"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
                "product": {
                  "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
                  "product_id": "sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo-debuginfo@1.7.2p1-30.el5_11?arch=s390x"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sudo-0:1.7.2p1-30.el5_11.i386",
                "product": {
                  "name": "sudo-0:1.7.2p1-30.el5_11.i386",
                  "product_id": "sudo-0:1.7.2p1-30.el5_11.i386",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo@1.7.2p1-30.el5_11?arch=i386"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
                "product": {
                  "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
                  "product_id": "sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo-debuginfo@1.7.2p1-30.el5_11?arch=i386"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i386"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sudo-0:1.7.2p1-30.el5_11.src",
                "product": {
                  "name": "sudo-0:1.7.2p1-30.el5_11.src",
                  "product_id": "sudo-0:1.7.2p1-30.el5_11.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/sudo@1.7.2p1-30.el5_11?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-0:1.7.2p1-30.el5_11.i386 as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.i386"
        },
        "product_reference": "sudo-0:1.7.2p1-30.el5_11.i386",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-0:1.7.2p1-30.el5_11.s390x as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.s390x"
        },
        "product_reference": "sudo-0:1.7.2p1-30.el5_11.s390x",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-0:1.7.2p1-30.el5_11.src as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.src"
        },
        "product_reference": "sudo-0:1.7.2p1-30.el5_11.src",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-0:1.7.2p1-30.el5_11.x86_64 as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.x86_64"
        },
        "product_reference": "sudo-0:1.7.2p1-30.el5_11.x86_64",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.i386 as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.i386"
        },
        "product_reference": "sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x"
        },
        "product_reference": "sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
        "relates_to_product_reference": "5Server-ELS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64 as a component of Red Hat Enterprise Linux Server (v. 5 ELS)",
          "product_id": "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64"
        },
        "product_reference": "sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64",
        "relates_to_product_reference": "5Server-ELS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Qualys Security"
          ]
        }
      ],
      "cve": "CVE-2017-1000367",
      "cwe": {
        "id": "CWE-807",
        "name": "Reliance on Untrusted Inputs in a Security Decision"
      },
      "discovery_date": "2017-05-22T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1453074"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the way sudo parsed tty information from the process status file in the proc filesystem. A local user with privileges to execute commands via sudo could use this flaw to escalate their privileges to root.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "sudo: Privilege escalation in via improper get_process_ttyname() parsing",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.i386",
          "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.s390x",
          "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.src",
          "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.x86_64",
          "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
          "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
          "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-1000367"
        },
        {
          "category": "external",
          "summary": "RHBZ#1453074",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1453074"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-1000367",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-1000367"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000367",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000367"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/vulnerabilities/3059071",
          "url": "https://access.redhat.com/security/vulnerabilities/3059071"
        },
        {
          "category": "external",
          "summary": "https://www.sudo.ws/alerts/linux_tty.html",
          "url": "https://www.sudo.ws/alerts/linux_tty.html"
        }
      ],
      "release_date": "2017-05-30T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2017-05-30T17:02:16+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.i386",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.s390x",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.src",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.x86_64",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2017:1381"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.i386",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.s390x",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.src",
            "5Server-ELS:sudo-0:1.7.2p1-30.el5_11.x86_64",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.i386",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.s390x",
            "5Server-ELS:sudo-debuginfo-0:1.7.2p1-30.el5_11.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "sudo: Privilege escalation in via improper get_process_ttyname() parsing"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.