UBUNTU-CVE-2023-0341

Source
https://ubuntu.com/security/CVE-2023-0341
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0341.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-0341
Related
Published
2023-01-30T00:00:00Z
Modified
2024-12-19T16:33:39Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A stack buffer overflow exists in the ecglob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking all write operations over the ppcre buffer.

References

Affected packages

Ubuntu:Pro:16.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.0-2ubuntu0.1~esm1

Affected versions

0.*

0.12.0-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "editorconfig-dbgsym"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "editorconfig-doc"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig-dev"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig-dev-dbgsym"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0-dbg"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.1-1.1ubuntu0.18.04.1~esm1

Affected versions

0.*

0.12.1-1
0.12.1-1.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm1",
            "binary_name": "editorconfig-doc"
        },
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm1",
            "binary_name": "libeditorconfig-dev"
        },
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm1",
            "binary_name": "libeditorconfig0"
        },
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm1",
            "binary_name": "libeditorconfig0-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.1-1.1+deb11u1build0.20.04.1

Affected versions

0.*

0.12.1-1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.12.1-1.1+deb11u1build0.20.04.1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.1-1.1+deb11u1build0.20.04.1",
            "binary_name": "editorconfig-doc"
        },
        {
            "binary_version": "0.12.1-1.1+deb11u1build0.20.04.1",
            "binary_name": "libeditorconfig-dev"
        },
        {
            "binary_version": "0.12.1-1.1+deb11u1build0.20.04.1",
            "binary_name": "libeditorconfig0"
        },
        {
            "binary_version": "0.12.1-1.1+deb11u1build0.20.04.1",
            "binary_name": "libeditorconfig0-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=jammy

Affected ranges

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

Affected versions

0.*

0.12.1-1.1
0.12.1-2
0.12.5-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.5-2ubuntu0.1~esm1

Affected versions

0.*

0.12.1-1.1
0.12.1-2
0.12.5-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "editorconfig-dbgsym"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "editorconfig-doc"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig-dev"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=src?distro=noble

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "editorconfig-dbgsym"
        },
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "editorconfig-doc"
        },
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "libeditorconfig-dev"
        },
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "libeditorconfig0"
        },
        {
            "binary_version": "0.12.6-0.1",
            "binary_name": "libeditorconfig0-dbgsym"
        }
    ]
}