Wiz가 Google Cloud에 합류: 함께 마법을 만드는 것

CVE-2026-125335: 
NixOS 취약점 분석 및 완화

개요

CVE-2026-125335 is an Ed25519 signature forgery vulnerability in node-forge (also called Forge), a native JavaScript implementation of Transport Layer Security. The flaw exists in ed25519.verify(), which fails to reject small-order public keys or their non-canonical encodings, allowing an attacker who can supply the public key to forge valid signatures for arbitrary messages without possessing the corresponding private key. All versions of node-forge up to and including 1.4.2 are affected; the issue was reported by @analisaperlengkapan, published to the GitHub Advisory Database on November 10, 2026, and fixed in version 1.4.3 released November 4, 2026. It carries a CVSS v3.1 base score of 3.7 (Low) (Github Advisory, Forge Security Advisory).

기술적 세부사항

The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature). In lib/ed25519.js, the crypto_sign_open() function decodes the public key A using unpackneg(), which only verifies that the point lies on the Ed25519 curve but does not check whether it is a small-order point (the identity point or the other 7 points of order 2, 4, or 8, including non-canonical encodings where y >= p). The verification equation R == [S]B - [k]A with k = SHA-512(R || A || M) reduces to R == [k](-A) when S = 0; for a small-order A, [k](-A) cycles through at most 8 small-order points, so an attacker can enumerate valid R values. For the identity key (01 00 … 00), R = identity and S = 0 passes verification for every possible message. The fix in commit 1b77e6f adds an _isSmallOrder() check that computes [8]P and rejects the key if the result is the identity point, covering all small-order points and their non-canonical encodings (Forge Security Advisory, Fix Commit).

영향

Successful exploitation allows an unauthenticated attacker to produce Ed25519 signatures that verify as valid for arbitrary messages without possessing the private key, defeating proof-of-possession, attribution, non-repudiation, and deduplication checks. The integrity impact is limited to scenarios where the application accepts attacker-controlled public keys (e.g., keys embedded in signed data, self-registered keys, or keys in attacker-controlled documents); there is no confidentiality or availability impact. Applications that only verify signatures against internally generated or otherwise trusted public keys are not affected, and signatures produced under legitimately generated keys cannot be forged via this method (Github Advisory).

악용 가능성

A proof-of-concept is publicly available in the official security advisory and is included in the node-forge repository at tests/pocs/GHSA-6889-vf6x-f3g5.js; it demonstrates that forge.ed25519.verify() returns true for any message under the identity public key with a zero-scalar signature on versions ≤ 1.4.2. Exploitation requires no authentication or user interaction but does require the attacker to control the public key supplied to the verifier, making it a high-complexity attack in practice. The EPSS score is approximately 0.20–0.23%, and there is no evidence of in-the-wild exploitation or CISA KEV catalog inclusion at this time (Github Advisory, Forge Security Advisory).

착취 단계

  1. Identify a vulnerable target: Locate an application using node-forge ≤ 1.4.2 that calls forge.ed25519.verify() with a public key supplied or influenced by the attacker (e.g., a key embedded in a JWT, a self-registered user key, or a key in an attacker-controlled document).
  2. Construct a small-order public key: Use the 32-byte identity point as the public key: IDENTITY = Buffer.concat([Buffer.from([0x01]), Buffer.alloc(31)]) (i.e., 01 00 … 00). Other small-order points of order 2, 4, or 8 can also be used for probabilistic forgery against other messages.
  3. Construct a forged signature: Build a 64-byte signature with R = IDENTITY and S = 00 … 00 (all zeros): SIG = Buffer.concat([IDENTITY, Buffer.alloc(32)]).
  4. Submit the forged signature: Call the verifier with any target message, the forged signature, and the identity public key — for example: forge.ed25519.verify({message: 'admin=true', encoding: 'utf8', signature: SIG.toString('binary'), publicKey: IDENTITY.toString('binary')}). On versions ≤ 1.4.2, this returns true for every message under the identity key.
  5. Achieve the objective: The application accepts the forged signature as valid, bypassing proof-of-possession, authentication, or non-repudiation checks tied to that key (Forge Security Advisory, Fix Commit).

타협의 징후

  • Application Logs: Signature verification calls that succeed for messages that should not be signed by the presented key; repeated verification attempts with the same public key across different messages (consistent with small-order key enumeration).
  • Input Data: Incoming public keys whose 32-byte encoding matches known small-order points: 0100000000000000000000000000000000000000000000000000000000000000 (identity), ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f (order 2), or other libsodium-blocked encodings.
  • Signature Artifacts: Signatures where the S scalar component (bytes 32–63) is all zeros (00…00) and the R component (bytes 0–31) matches a small-order point encoding.
  • Behavioral: Authentication or authorization bypass events where a user presents a self-supplied public key and gains elevated privileges (e.g., admin=true claims) without a corresponding legitimate private key (Forge Security Advisory).

완화 및 우회 방법

Upgrade node-forge to version 1.4.3 or later, which rejects any public key A where [8]A equals the identity point, covering all small-order points and their non-canonical encodings (Forge Release v1.4.3, Github Advisory). As a workaround prior to patching, applications should validate incoming public keys before passing them to ed25519.verify() by rejecting any key whose 32-byte encoding matches the known small-order point encodings blocked by libsodium (including 01 00 … 00), or by restricting verification to keys that were generated internally or obtained from a trusted source. Switching to Node.js's built-in crypto.verify() (backed by OpenSSL) is also an option, as it already rejects these signatures.

커뮤니티 반응

The vulnerability was reported by community researcher @analisaperlengkapan and acknowledged by node-forge maintainer @davidlehn, who coordinated the fix and release of version 1.4.3 alongside four other security fixes in the same release cycle (Forge PR #1169). Red Hat and Microsoft both tracked the advisory, indicating downstream awareness in enterprise ecosystems (Github Advisory). No significant broader media coverage or notable social media discussion has been identified beyond standard vulnerability database aggregation.

추가 리소스

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Ubuntu

알 수 없음

focal (esm-apps)

node-node-forge

알 수 없음

jammy

node-node-forge

알 수 없음

jammy (esm-apps)

node-node-forge

알 수 없음

RHEL / CentOS

영향을 받음

RHEL 8

pcs.src

영향을 받음

RHEL 9

pcs.src

영향을 받음

RHEL 10

pcs.src

영향을 받음

소스: 이 보고서는 AI를 사용해 생성되었습니다

관련 NixOS 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:drupal:drupal
네네Nov 26, 2026
CVE-2026-132165CRITICAL9.8
  • NixOS logoNixOS
  • drupal
네네Nov 26, 2026
CVE-2026-61513HIGH7.3
  • NixOS logoNixOS
  • veracrypt
아니요아니요Nov 24, 2026
CVE-2026-61512HIGH7.3
  • NixOS logoNixOS
  • veracrypt
아니요네Nov 24, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-http-geoip
아니요네Nov 18, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자