Skip to content

Commit bece7a4

Browse files
1 parent 4278f1a commit bece7a4

File tree

1 file changed

+208
-0
lines changed

1 file changed

+208
-0
lines changed
Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-6gvq-jcmp-8959",
4+
"modified": "2025-12-16T00:43:52Z",
5+
"published": "2025-12-16T00:43:52Z",
6+
"aliases": [
7+
"CVE-2025-68113"
8+
],
9+
"summary": "ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay",
10+
"details": "### Impact\n\nA cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value. This may allow previously solved challenges to be reused beyond their intended lifetime, depending on server-side replay handling and deployment assumptions.\n\nThe vulnerability primarily impacts abuse-prevention mechanisms such as rate limiting and bot mitigation. It does not directly affect data confidentiality or integrity. \n\n### Patches\n\nThis issue has been addressed by enforcing explicit semantic separation between challenge parameters and the nonce during HMAC computation.\n\nUsers are advised to upgrade to patched versions.\n\n### Workarounds\n\nAs a mitigation, implementations may append a delimiter to the end of the `salt` value prior to HMAC computation (for example, `<salt>?expires=<time>&`). This prevents ambiguity between parameters and the nonce and is backward-compatible with existing implementations, as the delimiter is treated as a standard URL parameter separator.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "altcha-lib"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "1.4.1"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "Packagist",
40+
"name": "altcha-org/altcha"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "0"
48+
},
49+
{
50+
"fixed": "1.3.1"
51+
}
52+
]
53+
}
54+
]
55+
},
56+
{
57+
"package": {
58+
"ecosystem": "Go",
59+
"name": "github.com/altcha-org/altcha-lib-go"
60+
},
61+
"ranges": [
62+
{
63+
"type": "ECOSYSTEM",
64+
"events": [
65+
{
66+
"introduced": "0"
67+
},
68+
{
69+
"fixed": "1.0.0"
70+
}
71+
]
72+
}
73+
]
74+
},
75+
{
76+
"package": {
77+
"ecosystem": "Maven",
78+
"name": "org.altcha:altcha"
79+
},
80+
"ranges": [
81+
{
82+
"type": "ECOSYSTEM",
83+
"events": [
84+
{
85+
"introduced": "0"
86+
},
87+
{
88+
"fixed": "1.3.0"
89+
}
90+
]
91+
}
92+
]
93+
},
94+
{
95+
"package": {
96+
"ecosystem": "RubyGems",
97+
"name": "altcha"
98+
},
99+
"ranges": [
100+
{
101+
"type": "ECOSYSTEM",
102+
"events": [
103+
{
104+
"introduced": "0"
105+
},
106+
{
107+
"fixed": "1.0.0"
108+
}
109+
]
110+
}
111+
]
112+
},
113+
{
114+
"package": {
115+
"ecosystem": "PyPI",
116+
"name": "altcha"
117+
},
118+
"ranges": [
119+
{
120+
"type": "ECOSYSTEM",
121+
"events": [
122+
{
123+
"introduced": "0"
124+
},
125+
{
126+
"fixed": "1.0.0"
127+
}
128+
]
129+
}
130+
]
131+
},
132+
{
133+
"package": {
134+
"ecosystem": "Hex",
135+
"name": "altcha"
136+
},
137+
"ranges": [
138+
{
139+
"type": "ECOSYSTEM",
140+
"events": [
141+
{
142+
"introduced": "0"
143+
},
144+
{
145+
"fixed": "1.0.0"
146+
}
147+
]
148+
}
149+
]
150+
}
151+
],
152+
"references": [
153+
{
154+
"type": "WEB",
155+
"url": "https://github.com/altcha-org/altcha-lib/security/advisories/GHSA-6gvq-jcmp-8959"
156+
},
157+
{
158+
"type": "WEB",
159+
"url": "https://github.com/altcha-org/altcha-lib-ex/commit/09b2bad466ad0338a5b24245380950ea9918333e"
160+
},
161+
{
162+
"type": "WEB",
163+
"url": "https://github.com/altcha-org/altcha-lib-go/commit/4a5610745ef79895a67bac858b2e4f291c2614b8"
164+
},
165+
{
166+
"type": "WEB",
167+
"url": "https://github.com/altcha-org/altcha-lib-java/commit/69277651fdd6418ae10bf3a088901506f9c62114"
168+
},
169+
{
170+
"type": "WEB",
171+
"url": "https://github.com/altcha-org/altcha-lib-php/commit/9e9e70c864a9db960d071c77c778be0c9ff1a4d0"
172+
},
173+
{
174+
"type": "WEB",
175+
"url": "https://github.com/altcha-org/altcha-lib-rb/commit/4fd7b64cbbfc713f3ca4e066c2dd466e3b8d359b"
176+
},
177+
{
178+
"type": "WEB",
179+
"url": "https://github.com/altcha-org/altcha-lib/commit/cb95d83a8d08e273b6be15e48988e7eaf60d5c08"
180+
},
181+
{
182+
"type": "PACKAGE",
183+
"url": "https://github.com/altcha-org/altcha-lib"
184+
},
185+
{
186+
"type": "WEB",
187+
"url": "https://github.com/altcha-org/altcha-lib-java/releases/tag/v1.3.0"
188+
},
189+
{
190+
"type": "WEB",
191+
"url": "https://github.com/altcha-org/altcha-lib-php/releases/tag/v1.3.1"
192+
},
193+
{
194+
"type": "WEB",
195+
"url": "https://github.com/altcha-org/altcha-lib/releases/tag/1.4.1"
196+
}
197+
],
198+
"database_specific": {
199+
"cwe_ids": [
200+
"CWE-115",
201+
"CWE-347"
202+
],
203+
"severity": "MODERATE",
204+
"github_reviewed": true,
205+
"github_reviewed_at": "2025-12-16T00:43:52Z",
206+
"nvd_published_at": null
207+
}
208+
}

0 commit comments

Comments
 (0)