UBUNTU-CVE-2016-1000340

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

In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.

References

Affected packages

Ubuntu:14.04:LTS / bouncycastle

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.49+dfsg-2

Affected versions

1.*

1.48+dfsg-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcmail-java"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcmail-java-doc"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcpg-java"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcpg-java-doc"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcpkix-java"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcpkix-java-doc"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcprov-java"
        },
        {
            "binary_version": "1.49+dfsg-2",
            "binary_name": "libbcprov-java-doc"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / bouncycastle

Package

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

Affected ranges

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

Affected versions

1.*

1.49+dfsg-3ubuntu1
1.51-4ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle?arch=src?distro=bionic

Affected ranges

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

Affected versions

1.*

1.57-1
1.58-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcmail-java"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcmail-java-doc"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcpg-java"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcpg-java-doc"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcpkix-java"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcpkix-java-doc"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcprov-java"
        },
        {
            "binary_version": "1.59-1",
            "binary_name": "libbcprov-java-doc"
        }
    ]
}