{"answers":{"affected":"4 open source packages ship an affected version, including com.typesafe.akka:akka-actor_2.11 and com.typesafe.akka:akka-actor_2.12. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-16115 in the wild and no public exploit code.","fix":"Upgrade com.typesafe.akka:akka-actor_2.11 to 2.5.16 or later.","what":"CVE-2018-16115 is a critical vulnerability in n/a, published on 29 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-16115 and fix it if it is affected.\n\nWhat it is: CVE-2018-16115 is a critical vulnerability in n/a, published on 29 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-16115 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.typesafe.akka:akka-actor_2.11 (Maven): affected from 2.5.0; fixed in 2.5.16\n- com.typesafe.akka:akka-actor_2.11 (Maven): affected from 2.5.0; fixed in 2.5.16\n- com.typesafe.akka:akka-actor_2.12 (Maven): affected from 2.5.0; fixed in 2.5.16\n- com.typesafe.akka:akka-actor_2.12 (Maven): affected from 2.5.0; fixed in 2.5.16\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-16115/ (Markdown: https://insights.sbomify.com/CVE-2018-16115/index.md)","id":"CVE-2018-16115","markdown":"https://insights.sbomify.com/CVE-2018-16115/index.md","name":"CVE-2018-16115","record":{"aliases":["GHSA-mr95-9rr4-668f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Akka remoting library","requires_auth":"none","summary":"Attackers can eavesdrop, replay, or modify Akka Remoting messages if vulnerable custom random number generators are enabled in configuration.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"akka","vendor":"lightbend"}],"cvss":{"score":9.1,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"description":"Lightbend Akka 2.5.x before 2.5.16 allows message disclosure and modification because of an RNG error. A random number generator is used in Akka Remoting for TLS (both classic and Artery Remoting). Akka allows configuration of custom random number generators. For historical reasons, Akka included the AES128CounterSecureRNG and AES256CounterSecureRNG random number generators. The implementations had a bug that caused the generated numbers to be repeated after only a few bytes. The custom RNG implementations were not configured by default but examples in the documentation showed (and therefore implicitly recommended) using the custom ones. This can be used by an attacker to compromise the communication if these random number generators are enabled in configuration. It would be possible to eavesdrop, replay, or modify the messages sent with Akka Remoting/Cluster.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cryptographically Weak Pseudo-Random Number Generator (PRNG) in akka-actor","id":"CVE-2018-16115","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2018"},"n_packages":4,"n_references":1,"next":{"headline":"SQL injection in n/a","id":"CVE-2018-16116"},"packages":[{"ecosystem":"Maven","fixed":["2.5.16"],"introduced":["2.5.0"],"last_affected":[],"package":"com.typesafe.akka:akka-actor_2.11","purl":null,"source":"GHSA-mr95-9rr4-668f"},{"ecosystem":"Maven","fixed":["2.5.16"],"introduced":["2.5.0"],"last_affected":[],"package":"com.typesafe.akka:akka-actor_2.11","purl":"pkg:maven/com.typesafe.akka/akka-actor_2.11","source":"GHSA-mr95-9rr4-668f"},{"ecosystem":"Maven","fixed":["2.5.16"],"introduced":["2.5.0"],"last_affected":[],"package":"com.typesafe.akka:akka-actor_2.12","purl":null,"source":"GHSA-mr95-9rr4-668f"},{"ecosystem":"Maven","fixed":["2.5.16"],"introduced":["2.5.0"],"last_affected":[],"package":"com.typesafe.akka:akka-actor_2.12","purl":"pkg:maven/com.typesafe.akka/akka-actor_2.12","source":"GHSA-mr95-9rr4-668f"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2018-16113"},"products":["n/a"],"published":"2018-08-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can eavesdrop, replay, or modify Akka Remoting messages if vulnerable custom random number generators are enabled in configuration.","url":"https://insights.sbomify.com/CVE-2018-16115/"}