{
	"document":{
		"aggregate_severity":{
			"namespace":"https://nvd.nist.gov/vuln-metrics/cvss",
			"text":"Critical"
		},
		"category":"csaf_vex",
		"csaf_version":"2.0",
		"distribution":{
			"tlp":{
				"label":"WHITE",
				"url":"https:/www.first.org/tlp/"
			}
		},
		"lang":"en",
		"notes":[
			{
				"text":"mybatis security update",
				"category":"general",
				"title":"Synopsis"
			},
			{
				"text":"An update for mybatis is now available for openEuler-20.03-LTS-SP3.",
				"category":"general",
				"title":"Summary"
			},
			{
				"text":"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.\n\nSecurity Fix(es):\n\nA 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)",
				"category":"general",
				"title":"Description"
			},
			{
				"text":"An update for mybatis is now available for openEuler-20.03-LTS-SP3.\n\nopenEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.",
				"category":"general",
				"title":"Topic"
			},
			{
				"text":"Critical",
				"category":"general",
				"title":"Severity"
			},
			{
				"text":"mybatis",
				"category":"general",
				"title":"Affected Component"
			}
		],
		"publisher":{
			"issuing_authority":"openEuler security committee",
			"name":"openEuler",
			"namespace":"https://www.openeuler.org",
			"contact_details":"openeuler-security@openeuler.org",
			"category":"vendor"
		},
		"references":[
			{
				"summary":"openEuler-SA-2023-1997",
				"category":"self",
				"url":"https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1997"
			},
			{
				"summary":"CVE-2023-25330",
				"category":"self",
				"url":"https://www.openeuler.org/en/security/cve/detail?cveId=CVE-2023-25330&packageName=mybatis"
			},
			{
				"summary":"nvd cve",
				"category":"external",
				"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25330"
			},
			{
				"summary":"openEuler-SA-2023-1997 vex file",
				"category":"self",
				"url":"https://repo.openeuler.org/security/data/csaf/advisories/2023/csaf-openeuler-sa-2023-1997.json"
			}
		],
		"title":"An update for mybatis is now available for openEuler-20.03-LTS-SP3",
		"tracking":{
			"initial_release_date":"2023-12-29T14:29:10+08:00",
			"revision_history":[
				{
					"date":"2023-12-29T14:29:10+08:00",
					"summary":"Initial",
					"number":"1.0.0"
				},
				{
					"date":"2024-10-31T14:29:10+08:00",
					"summary":"final",
					"number":"2.0.0"
				}
			],
			"generator":{
				"date":"2024-10-31T14:29:10+08:00",
				"engine":{
					"name":"openEuler CSAF Tool V1.0"
				}
			},
			"current_release_date":"2024-10-31T14:29:10+08:00",
			"id":"openEuler-SA-2023-1997",
			"version":"2.0.0",
			"status":"final"
		}
	},
	"product_tree":{
		"branches":[
			{
				"name":"openEuler",
				"category":"vendor",
				"branches":[
					{
						"name":"openEuler",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"openEuler-20.03-LTS-SP3",
									"name":"openEuler-20.03-LTS-SP3"
								},
								"name":"openEuler-20.03-LTS-SP3",
								"category":"product_version"
							}
						],
						"category":"product_name"
					},
					{
						"name":"noarch",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"mybatis-3.5.8-1.oe1.noarch.rpm(20.03-LTS-SP3)",
									"name":"mybatis-3.5.8-1.oe1.noarch.rpm"
								},
								"name":"mybatis-3.5.8-1.oe1.noarch.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"mybatis-javadoc-3.5.8-1.oe1.noarch.rpm(20.03-LTS-SP3)",
									"name":"mybatis-javadoc-3.5.8-1.oe1.noarch.rpm"
								},
								"name":"mybatis-javadoc-3.5.8-1.oe1.noarch.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"src",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"mybatis-3.5.8-1.oe1.src.rpm(20.03-LTS-SP3)",
									"name":"mybatis-3.5.8-1.oe1.src.rpm"
								},
								"name":"mybatis-3.5.8-1.oe1.src.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					}
				]
			}
		],
		"relationships":[
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"mybatis-3.5.8-1.oe1.noarch.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.noarch",
					"name":"mybatis-3.5.8-1.oe1.noarch as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"mybatis-javadoc-3.5.8-1.oe1.noarch.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:mybatis-javadoc-3.5.8-1.oe1.noarch",
					"name":"mybatis-javadoc-3.5.8-1.oe1.noarch as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"mybatis-3.5.8-1.oe1.src.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.src",
					"name":"mybatis-3.5.8-1.oe1.src as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			}
		]
	},
	"vulnerabilities":[
		{
			"cve":"CVE-2023-25330",
			"notes":[
				{
					"text":"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.",
					"category":"description",
					"title":"Vulnerability Description"
				}
			],
			"product_status":{
				"fixed":[
					"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.noarch",
					"openEuler-20.03-LTS-SP3:mybatis-javadoc-3.5.8-1.oe1.noarch",
					"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.src"
				]
			},
			"remediations":[
				{
					"product_ids":[
						"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.noarch",
						"openEuler-20.03-LTS-SP3:mybatis-javadoc-3.5.8-1.oe1.noarch",
						"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.src"
					],
					"details":"mybatis security update",
					"category":"vendor_fix",
					"url":"https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1997"
				}
			],
			"scores":[
				{
					"cvss_v3":{
						"baseSeverity":"CRITICAL",
						"baseScore":9.8,
						"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
						"version":"3.1"
					},
					"products":[
						"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.noarch",
						"openEuler-20.03-LTS-SP3:mybatis-javadoc-3.5.8-1.oe1.noarch",
						"openEuler-20.03-LTS-SP3:mybatis-3.5.8-1.oe1.src"
					]
				}
			],
			"threats":[
				{
					"details":"Critical",
					"category":"impact"
				}
			],
			"title":"CVE-2023-25330"
		}
	]
}