CRITICAL 9.8
CVE-2022-28111
MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.github.pagehelper » pagehelper | >= 3.5.0, < 5.3.1 | 5.3.1 |
Blast radius
1affected artifacts
54affected versions
1,404dependent artifacts (est.)
8,856dependent versions
72% of the dependent artifacts (1,015) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,837 |
| 2 hops | 3,102 |
| 3 hops | 2,526 |
| 4 hops | 1,174 |
| 5 hops | 173 |
| 6 hops | 44 |
Most used dependents
- com.github.pagehelper » pagehelper-spring-boot-starter439 usages
- com.github.liaomengge » base-common-utils88 usages
- io.choerodon » choerodon-starter-core49 usages
- io.choerodon » choerodon-starter-feign-replay47 usages
- io.choerodon » choerodon-starter-swagger38 usages
- io.choerodon » choerodon-starter-asgard37 usages
- org.apache.linkis » linkis-mybatis36 usages
- io.choerodon » choerodon-starter-oauth-resource35 usages
- com.acooly » acooly-component-security31 usages
- com.hand » hap27 usages
- com.wueasy » wueasy-base23 usages
- net.mingsoft » ms-basic21 usages
- com.soento » soento-core21 usages
- io.choerodon » choerodon-starter-mybatis20 usages
- cn.structured » structure-mybatis-plus-starter20 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-28111 | nvd.nist.gov |
| Package | pagehelper/Mybatis-PageHelper | github.com |
| Web | pagehelper/Mybatis-PageHelper issue #674 | github.com |
| Web | pagehelper/Mybatis-PageHelper commit 554a524 | github.com |
| Web | pagehelper/Mybatis-PageHelper.git | github.com |
| Web | yangfar/CVE CVE-2022-42227.md | github.com |
| Web | pagehelper.github.io | pagehelper.github.io |
| Web | secload/articles/16061420.html | cnblogs.com |
