CVE-2023-28339

Source
https://cve.org/CVERecord?id=CVE-2023-28339
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-28339.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-28339
Downstream
Published
2023-03-14T00:00:00Z
Modified
2026-07-15T01:36:37.335925Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28339.json",
    "cna_assigner": "mitre"
}
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
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.8.2"
        },
        {
            "last_affected": "6.8.2"
        }
    ],
    "cpe": "cpe:2.3:a:opendoas_project:opendoas:*:*:*:*:*:*:*:*",
    "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

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