Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

GO-2024-2451

UNSCORED

IV collision in github.com/bincyber/go-sqlcrypter

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Projects that depend on Go package github.com/bincyber/go-sqlcrypter (>= 0.1.0)

Vulnerability facts

Affected
github.com/bincyber/go-sqlcrypter >= 0.1.0
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

There is a risk of an IV collision using the awskms or aesgcm provider. NIST SP 800-38D section 8.3 states that it is unsafe to encrypt more than 2^32 plaintexts under the same key when using a random IV. The limit could easily be reached given the use case of database column encryption. Ciphertexts are likely to be persisted and stored together. IV collision could enable an attacker with access to the ciphertexts to decrypt all messages encrypted with the affected key. The aesgcm provider cannot be fixed without a breaking change, so users should not encrypt more than 2^32 values with any key. The awskms package can be fixed without a breaking change by switching to a counter-based IV.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/bincyber/go-sqlcrypter>= 0.1.0—osv

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by GO-2024-2451. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GO-2024-2451.md
Affected: github.com/bincyber/go-sqlcrypter >= 0.1.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for github.com/bincyber/go-sqlcrypter (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is GO-2024-2451 being exploited?

There is no confirmed exploitation: GO-2024-2451 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is GO-2024-2451?

It has no CVSS score yet. Unknown.

Which versions are affected by GO-2024-2451?

github.com/bincyber/go-sqlcrypter >= 0.1.0.

Is there a fix for GO-2024-2451?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by GO-2024-2451?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors