Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-rc6v-5rmx-w5mv
No affected components available
Summary
Three medium-severity issues in arnika affecting the UDP key-rotation protocol, PQC key file handling, and KMS TLS client. All require specific preconditions to exploit and do not allow direct code execution or immediate key extraction. A self-contained PoC is attached.
Details
-
ACK timestamp not validated:
udpserver.go:185udpClient()verifies HMAC and packet type but never checksackPkt.Timestamp. A MITM can capture one ACK, drop all subsequent DATA packets, and replay the stale ACK indefinitely. Primary advances PSK each rotation, backup stays on key 1, tunnel breaks. No PSK knowledge needed. The server side already has this check, the client does not. Fix: mirror the timestamp check already present on the server side. -
Empty PQC key file silently accepted:
repositories/pqc.go:29os.ReadFilefollows symlinks. Empty file tobase64.Decode("") = []byte{}, nil. HKDF runs on the QKD key alone while arnika logs[OK] HKDF derivation completed for QKD+PQC key. Requires write access to the directory containingPQC_PSK_FILE. Fix: validate decoded key is non-empty before derivation; enforce parent directory permissions inSECURITY.md. -
InsecureSkipVerify: truehardcoded:repositories/kms.go:61KMS HTTP client unconditionally setsInsecureSkipVerify: true, overridingRootCAs.CA_CERTIFICATEis loaded but never consulted (dead code). Requires MITM between arnika and the KMS endpoint, which in typical deployments are co-located. Fix: remove the flag;RootCAsalready holds the correct pool whenCA_CERTIFICATEis configured.
PoC
See arnika_exploit.tar.gz. PoC shows observable behavior for each attack; the third one (KMS MITM) needs no custom code, any HTTPS proxy with a self-signed cert is enough.
Impact
Issues require network MITM or local directory write access to exploit. No direct key extraction or code execution. Primary impact is tunnel desync and silent security downgrade in hybrid QKD+PQC mode.
The vulnerability requires physical access to the device to be exploited. It is easy for an attacker to exploit this vulnerability. An attacker needs high-level or administrative privileges. The attacker needs the user to perform some action, like clicking a link. The impact is confined to the system where the vulnerability exists. There is a low impact on the confidentiality of the information. There is a low impact on the integrity of the data.
Limited exploitation activity has been observed. Close monitoring and planned remediation are recommended.
Probability that this vulnerability will be exploited in the wild within the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard