{"id":"UBUNTU-CVE-2018-1000180","details":"Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 and later.","modified":"2026-03-19T06:47:59.752258Z","published":"2018-06-05T13:29:00Z","upstream":["CVE-2018-1000180"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000180"},{"type":"REPORT","url":"https://www.bouncycastle.org/jira/browse/BJA-694"},{"type":"REPORT","url":"https://www.bountysource.com/issues/58293083-rsa-key-generation-computation-of-iterations-for-mr-primality-test"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000180"}],"affected":[{"package":{"name":"bouncycastle","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/bouncycastle@1.59-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.57-1","1.58-1","1.59-1","1.59-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbcmail-java","binary_version":"1.59-1ubuntu0.1~esm1"},{"binary_name":"libbcpg-java","binary_version":"1.59-1ubuntu0.1~esm1"},{"binary_name":"libbcpkix-java","binary_version":"1.59-1ubuntu0.1~esm1"},{"binary_name":"libbcprov-java","binary_version":"1.59-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000180.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}