UBUNTU-CVE-2016-1000340

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-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
2018-06-04T13:29:00Z
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@1.49+dfsg-2?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": [
        {
            "libbcmail-java": "1.49+dfsg-2",
            "libbcpg-java": "1.49+dfsg-2",
            "libbcpkix-java-doc": "1.49+dfsg-2",
            "libbcprov-java-doc": "1.49+dfsg-2",
            "libbcpg-java-doc": "1.49+dfsg-2",
            "libbcprov-java": "1.49+dfsg-2",
            "libbcpkix-java": "1.49+dfsg-2",
            "libbcmail-java-doc": "1.49+dfsg-2"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / bouncycastle

Package

Name
bouncycastle

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@1.59-1?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": [
        {
            "libbcmail-java": "1.59-1",
            "libbcpg-java": "1.59-1",
            "libbcpkix-java-doc": "1.59-1",
            "libbcprov-java-doc": "1.59-1",
            "libbcpg-java-doc": "1.59-1",
            "libbcprov-java": "1.59-1",
            "libbcpkix-java": "1.59-1",
            "libbcmail-java-doc": "1.59-1"
        }
    ]
}