Skip to main content

Insecure encryption algorithm - Insecure Elliptic Curve

Description

The system makes use of weak elliptic curves.

Impact

  • Produce incorrect results for some unusual curve points - Expose secret data when the input is not a curve point - Expose secret data through branch synchronization - Expose secret data through cache synchronization

Recommendation

Ensure that the curves used are safe for both ECDLP and ECC in general.

Threat

Unauthenticated attacker from the Internet.

Expected Remediation Time

⌚ 60 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base

  • Attack vector: A
  • Attack complexity: H
  • Privileges required: N
  • User interaction: R
  • Scope: U
  • Confidentiality: L
  • Integrity: L
  • Availability: N

Temporal

  • Exploit code madurity: U
  • Remediation level: U
  • Report confidence: R

Result

  • Vector string: CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:U/RC:R
  • Score:
    • Base: 3.7
    • Temporal: 3.3
  • Severity:
    • Base: Low
    • Temporal: Low

Code Examples

Compliant code

openssl ecparam -name X25519 -out X25519.pem

Non compliant code

openssl ecparam -name secp256k1 -out secp256k1.pem

Requirements

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.