critical9.8
CVE-2022-28111
MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter
Impact
MyBatis PageHelper versions 3.5.x through 5.3.x were discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.github.pagehelper:pagehelper | >= 3.5.0, < 5.3.1 | 5.3.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pagehelper Project | Pagehelper | from 1.0 through 3.7.0 from 4.0.0 through 5.0.0 from 5.1.0 through 5.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pagehelper/Mybatis-PageHelper
- https://github.com/pagehelper/Mybatis-PageHelper.git
- https://github.com/pagehelper/Mybatis-PageHelper/issues/674
- https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md
- https://pagehelper.github.io/
- https://www.cnblogs.com/secload/articles/16061420.html
- https://github.com/advisories/GHSA-w559-623p-vfg8
- https://nvd.nist.gov/vuln/detail/CVE-2022-28111
- https://github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa