Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-13098

BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptography Extension) for cryptographic functions, provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attacker can recover the private key from a vulnerable application. This vulnerability is referred to as "ROBOT."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-13098
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2017-13098

core-osv · Original source

Published 13 Dec 2017, 01:29 UTC

BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptography Extension) for cryptographic functions, provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attacker can recover the private key from a vulnerable application. This vulnerability is referred to as "ROBOT."

osv:CVE-2017-13098
Complete source record
{
  "id": "b1c4a7a13d272f4bfd61d9515d313e547aeab0d40bbdf384567ce0ec4e954fe3",
  "url": "https://osv.dev/vulnerability/CVE-2017-13098",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-13098",
    "summary": "BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptography Extension) for cryptographic functions, provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attacker can recover the private key from a vulnerable application. This vulnerability is referred to as \"ROBOT.\"",
    "evidence": "osv:CVE-2017-13098",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-13098",
      "aliases": [
        "CVE-2017-13098",
        "GHSA-wrwf-pmmj-w989"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bcgit/bc-java",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6de1c17dda8ffdb19431ffcadbce1836867a27a9"
                },
                {
                  "fixed": "a00b684465b38d722ca9a3543b8af8568e6bad5c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.59"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a00b684465b38d722ca9a3543b8af8568e6bad5c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "r1rv58",
            "r1rv57",
            "r1rv56",
            "r1rv55",
            "r1rv54",
            "r1rv53",
            "r1rv52",
            "r1rv51",
            "r1rv50",
            "r1rv49"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-13098.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-13098-75c5c872",
                "digest": {
                  "length": 827,
                  "function_hash": "289149566325291897423684006854774195716"
                },
                "source": "https://github.com/bcgit/bc-java/commit/a00b684465b38d722ca9a3543b8af8568e6bad5c",
                "target": {
                  "file": "tls/src/main/java/org/bouncycastle/tls/crypto/impl/jcajce/JceDefaultTlsCredentialedDecryptor.java",
                  "function": "safeDecryptPreMasterSecret"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-13098-81c60bc3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "305964000066746416963441673159454415214",
                    "330482452789340571768173095412697713195",
                    "196419259948231920681181642091173369616",
                    "51116576605919566978153007323722598930"
                  ]
                },
                "source": "https://github.com/bcgit/bc-java/commit/a00b684465b38d722ca9a3543b8af8568e6bad5c",
                "target": {
                  "file": "tls/src/main/java/org/bouncycastle/tls/crypto/impl/jcajce/JceDefaultTlsCredentialedDecryptor.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:26:52Z"
          }
        }
      ],
      "modified": "2026-10-20T13:26:52.588597238Z",
      "provider": "osv",
      "references": [
        "https://www.oracle.com/security-alerts/cpuoct2020.html",
        "https://robotattack.org/",
        "https://security.netapp.com/advisory/ntap-20171222-0001/",
        "https://www.debian.org/security/2017/dsa-4072",
        "https://github.com/bcgit/bc-java/commit/a00b684465b38d722ca9a3543b8af8568e6bad5c"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-13098",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387692,
  "published_at": "2017-12-13T01:29:00.28+00:00"
}