OESA-2023-1997

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1997
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1997.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2023-1997
Upstream
  • CVE-2023-25330
Published
2023-12-29T11:06:38Z
Modified
2025-09-03T06:19:01.247648Z
Summary
mybatis security update
Details

The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools. To use the MyBatis data mapper, you rely on your own objects, XML, and SQL. There is little to learn that you don't already know. With the MyBatis data mapper, you have the full power of both SQL and stored procedures at your fingertips. The MyBatis project is developed and maintained by a team that includes the original creators of the "iBATIS" data mapper. The Apache project was retired and continued here.

Security Fix(es):

A SQL injection vulnerability in Mybatis plus below 3.5.3.1 allows remote attackers to execute arbitrary SQL commands via the tenant ID valuer.(CVE-2023-25330)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP3 / mybatis

Package

Name
mybatis
Purl
pkg:rpm/openEuler/mybatis&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.8-1.oe1

Ecosystem specific

{
    "src": [
        "mybatis-3.5.8-1.oe1.src.rpm"
    ],
    "noarch": [
        "mybatis-3.5.8-1.oe1.noarch.rpm",
        "mybatis-javadoc-3.5.8-1.oe1.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2023-1997.json"