Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency elliptic to v6.6.0 [SECURITY] #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
elliptic 6.5.5 -> 6.6.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-42459

In the Elliptic package 6.5.6 for Node.js, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.

CVE-2024-42461

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because BER-encoded signatures are allowed.

CVE-2024-42460

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.

CVE-2024-48949

The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify function in lib/elliptic/eddsa/index.js omits sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg() validation.

This vulnerability could have a security-relevant impact if an application relies on the uniqueness of a signature.

CVE-2024-48948

The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.


Elliptic's verify function omits uniqueness validation

CVE-2024-48949 / GHSA-434g-2637-qmqr

More information

Details

The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify function in lib/elliptic/eddsa/index.js omits sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg() validation.

This vulnerability could have a security-relevant impact if an application relies on the uniqueness of a signature.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Elliptic allows BER-encoded signatures

CVE-2024-42461 / GHSA-49q7-c7j4-3p7m

More information

Details

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because BER-encoded signatures are allowed.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Elliptic's EDDSA missing signature length check

CVE-2024-42459 / GHSA-f7q4-pwc6-w24p

More information

Details

In the Elliptic package 6.5.6 for Node.js, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Elliptic's ECDSA missing check for whether leading bit of r and s is zero

CVE-2024-42460 / GHSA-977x-g7h5-7qgw

More information

Details

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Valid ECDSA signatures erroneously rejected in Elliptic

CVE-2024-48948 / GHSA-fc9h-whq2-v747

More information

Details

The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.

Severity

  • CVSS Score: 4.8 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

indutny/elliptic (elliptic)

v6.6.0

Compare Source

v6.5.7

Compare Source

v6.5.6

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Oct 19, 2024
@renovate renovate bot closed this Oct 19, 2024
@renovate renovate bot deleted the renovate/npm-elliptic-vulnerability branch October 19, 2024 07:43
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Update dependency elliptic to v6.5.7 [SECURITY] Oct 19, 2024
@renovate renovate bot reopened this Oct 19, 2024
@renovate renovate bot restored the renovate/npm-elliptic-vulnerability branch October 19, 2024 19:18
@renovate renovate bot force-pushed the renovate/npm-elliptic-vulnerability branch from 80dc0c3 to ce784aa Compare October 19, 2024 19:18
Copy link

socket-security bot commented Oct 19, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 120 kB indutny

🚮 Removed packages: npm/[email protected]

View full report↗︎

@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Oct 20, 2024
@renovate renovate bot closed this Oct 20, 2024
@renovate renovate bot deleted the renovate/npm-elliptic-vulnerability branch October 20, 2024 19:04
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Update dependency elliptic to v6.5.7 [SECURITY] Oct 23, 2024
@renovate renovate bot restored the renovate/npm-elliptic-vulnerability branch October 23, 2024 08:59
@renovate renovate bot reopened this Oct 23, 2024
@renovate renovate bot force-pushed the renovate/npm-elliptic-vulnerability branch from ce784aa to d8e526b Compare October 23, 2024 08:59
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Oct 25, 2024
@renovate renovate bot closed this Oct 25, 2024
@renovate renovate bot deleted the renovate/npm-elliptic-vulnerability branch October 25, 2024 07:43
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] - autoclosed Update dependency elliptic to v6.5.7 [SECURITY] Oct 25, 2024
@renovate renovate bot reopened this Oct 25, 2024
@renovate renovate bot restored the renovate/npm-elliptic-vulnerability branch October 25, 2024 18:07
@renovate renovate bot force-pushed the renovate/npm-elliptic-vulnerability branch from d8e526b to 0f34bd5 Compare October 25, 2024 18:07
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/npm-elliptic-vulnerability branch from 0f34bd5 to 0d3cf25 Compare October 27, 2024 18:03
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] Update dependency elliptic to v6.6.0 [SECURITY] Oct 27, 2024
@renovate renovate bot changed the title Update dependency elliptic to v6.6.0 [SECURITY] Update dependency elliptic to v6.5.7 [SECURITY] Oct 28, 2024
@renovate renovate bot changed the title Update dependency elliptic to v6.5.7 [SECURITY] Update dependency elliptic to v6.6.0 [SECURITY] Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants