CVE-2023-28339

Source
https://cve.org/CVERecord?id=CVE-2023-28339
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28339.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-28339
Downstream
Published
2023-03-14T00:00:00Z
Modified
2026-08-12T14:50:40Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

OpenDoas through 6.8.2, when TIOCSTI is available, allows privilege escalation because of sharing a terminal with the original session. NOTE: TIOCSTI is unavailable in OpenBSD 6.0 and later, and can be made unavailable in the Linux kernel 6.2 and later.

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28339.json"
}
References

Affected packages

Git / github.com/duncaen/opendoas

Affected ranges

Type
GIT
Repo
https://github.com/duncaen/opendoas
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:opendoas_project:opendoas:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "6.8.2"
        },
        {
            "last_affected":  "6.8.2"
        }
    ],
    "source":  [
        "DESCRIPTION",
        "CPE_RANGE"
    ]
}

Affected versions

v0.*
v0.1
v0.2
v0.3
v0.3.1
v0.3.2
v6.*
v6.0
v6.6
v6.6.1
v6.8
v6.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28339.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "226438582451453904082522244073761597401",
            "length":  4421
        },
        "id":  "CVE-2023-28339-7115ead5",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/duncaen/opendoas/commit/7f0205fe2f06221d76243342d299851f48c2b83c",
        "target":  {
            "file":  "doas.c",
            "function":  "main"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "134337381104205371149834042256174123933",
                "240490000281492794839122102025649612068",
                "178507194066844576015403433077282144014"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2023-28339-bdc6ab92",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/duncaen/opendoas/commit/7f0205fe2f06221d76243342d299851f48c2b83c",
        "target":  {
            "file":  "doas.c"
        }
    }
]
vanir_signatures_modified
"2026-08-12T14:50:40Z"