Intel

AIKIDO-2024-10548

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

Integer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

25

Low Risk

This Affects:

GOgithub.com/pocketbase/pocketbase
0.23.0 - 0.23.8
Fixed in 0.23.9

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.

Who does this affect?

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

Background info

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

How to fix this

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