UBUNTU-CVE-2017-16516

Source
https://ubuntu.com/security/CVE-2017-16516
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16516.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-16516
Related
Published
2017-11-03T15:29:00Z
Modified
2024-10-15T14:06:05Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the yajlstringdecode function in yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.

References

Affected packages

Ubuntu:Pro:14.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=trusty/esm

Affected ranges

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

Affected versions

2.*

2.0.4-4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl-dev-dbgsym"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl2-dbg"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "libyajl2-dbgsym"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.0.4-4ubuntu0.1~esm1",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=esm-infra/xenial

Affected ranges

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

Affected versions

2.*

2.1.0-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl-dev-dbgsym"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl2-dbg"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyajl2-dbgsym"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.16.04.1~esm1",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / ruby-yajl

Package

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

Affected ranges

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

Affected versions

1.*

1.2.0-3build1
1.2.0-3build2
1.2.0-3build3
1.2.0-3build4

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:18.04:LTS / ruby-yajl

Package

Name
ruby-yajl
Purl
pkg:deb/ubuntu/ruby-yajl?arch=src?distro=bionic

Affected ranges

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

Affected versions

1.*

1.2.0-3build4
1.2.0-3.1
1.3.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.3.1-1build1",
            "binary_name": "ruby-yajl"
        },
        {
            "binary_version": "1.3.1-1build1",
            "binary_name": "ruby-yajl-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

2.*

2.1.0-2
2.1.0-2build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "libyajl2-dbg"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.1.0-2ubuntu0.18.04.1~esm1",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / ruby-yajl

Package

Name
ruby-yajl
Purl
pkg:deb/ubuntu/ruby-yajl?arch=src?distro=focal

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.3.1-1build1",
            "binary_name": "ruby-yajl"
        },
        {
            "binary_version": "1.3.1-1build1",
            "binary_name": "ruby-yajl-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-3ubuntu0.20.04.1

Affected versions

2.*

2.1.0-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "libyajl2-dbgsym"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.20.04.1",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-3ubuntu0.22.04.1

Affected versions

2.*

2.1.0-3
2.1.0-3build1
2.1.0-3build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "libyajl2-dbgsym"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.22.04.1",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / yajl

Package

Name
yajl
Purl
pkg:deb/ubuntu/yajl?arch=src?distro=noble

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-5",
            "binary_name": "libyajl-dev"
        },
        {
            "binary_version": "2.1.0-5",
            "binary_name": "libyajl-doc"
        },
        {
            "binary_version": "2.1.0-5",
            "binary_name": "libyajl2"
        },
        {
            "binary_version": "2.1.0-5",
            "binary_name": "libyajl2-dbgsym"
        },
        {
            "binary_version": "2.1.0-5",
            "binary_name": "yajl-tools"
        },
        {
            "binary_version": "2.1.0-5",
            "binary_name": "yajl-tools-dbgsym"
        }
    ]
}