Intel

AIKIDO-2024-10548

github.com/pocketbase/pocketbase is vulnerable to Integer Overflow

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 19, 2024
December 19, 2024

25

CVE Score

Low

Integer Overflow

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an integer overflow due to improper handling of large integers. Specifically, the use of strconv.Itoa leads to an int64 to int conversion overflow on 32-bit platforms. The issue has been addressed in the patched version by replacing strconv.Itoa with strconv.FormatInt, ensuring safe handling of large integers.

How do I fix this?

Upgrade the github.com/pocketbase/pocketbase library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.23.0 - 0.23.8

Fixed in 0.23.9

Background info

github.com/pocketbase/pocketbase is vulnerable to Integer Overflow in versions 0.23.0 - 0.23.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea