UBUNTU-CVE-2023-22466

Source
https://ubuntu.com/security/CVE-2023-22466
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22466.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-22466
Related
Published
2023-01-04T22:15:00Z
Modified
2024-10-15T14:11:20Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Tokio is a runtime for writing applications with Rust. Starting with version 1.7.0 and prior to versions 1.18.4, 1.20.3, and 1.23.1, when configuring a Windows named pipe server, setting pipe_mode will reset reject_remote_clients to false. If the application has previously configured reject_remote_clients to true, this effectively undoes the configuration. Remote clients may only access the named pipe if the named pipe's associated path is accessible via a publicly shared folder (SMB). Versions 1.23.1, 1.20.3, and 1.18.4 have been patched. The fix will also be present in all releases starting from version 1.24.0. Named pipes were introduced to Tokio in version 1.7.0, so releases older than 1.7.0 are not affected. As a workaround, ensure that pipe_mode is set first after initializing a ServerOptions.

References

Affected packages

Ubuntu:20.04:LTS / rust-tokio

Package

Name
rust-tokio
Purl
pkg:deb/ubuntu/rust-tokio?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.14-2build1

Affected versions

0.*

0.1.14-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+async-await-preview-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+bytes-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+codec-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+default-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+fs-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+io-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+mio-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+num-cpus-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+reactor-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+rt-full-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tcp-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+timer-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-async-await-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-codec-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-current-thread-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-executor-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-fs-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-io-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-reactor-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-tcp-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-threadpool-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-timer-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-udp-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+tokio-uds-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+udp-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio+uds-dev"
        },
        {
            "binary_version": "0.1.14-2build1",
            "binary_name": "librust-tokio-dev"
        }
    ]
}

Ubuntu:22.04:LTS / rust-tokio

Package

Name
rust-tokio
Purl
pkg:deb/ubuntu/rust-tokio?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.1.14-2build1

1.*

1.15.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rust-tokio

Package

Name
rust-tokio
Purl
pkg:deb/ubuntu/rust-tokio?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.39.3-3

Affected versions

1.*

1.35.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.39.3-3",
            "binary_name": "librust-tokio-dev"
        }
    ]
}

Ubuntu:24.04:LTS / rust-tokio

Package

Name
rust-tokio
Purl
pkg:deb/ubuntu/rust-tokio?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35.1-1

Affected versions

1.*

1.29.1-1
1.33.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.35.1-1",
            "binary_name": "librust-tokio-dev"
        }
    ]
}