{
	"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":"libX11 security update",
				"category":"general",
				"title":"Synopsis"
			},
			{
				"text":"An update for libX11 is now available for openEuler-20.03-LTS-SP1.",
				"category":"general",
				"title":"Summary"
			},
			{
				"text":"Core X11 protocol client library.\n\nSecurity Fix(es):\n\nLookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session.(CVE-2021-31535)",
				"category":"general",
				"title":"Description"
			},
			{
				"text":"An update for libX11 is now available for openEuler-20.03-LTS-SP1.\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":"libX11",
				"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-2021-1235",
				"category":"self",
				"url":"https://openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1235"
			},
			{
				"summary":"CVE-2021-31535",
				"category":"self",
				"url":"https://openeuler.org/en/security/cve/detail?cveId=CVE-2021-31535&packageName=libX11"
			},
			{
				"summary":"nvd cve",
				"category":"external",
				"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31535"
			},
			{
				"summary":"openEuler-SA-2021-1235 vex file",
				"category":"self",
				"url":"https://repo.openeuler.org/security/data/csaf/advisories/2021/csaf-openeuler-sa-2021-1235.json"
			}
		],
		"title":"An update for libX11 is now available for openEuler-20.03-LTS-SP1",
		"tracking":{
			"initial_release_date":"2021-06-22T09:20:42+08:00",
			"revision_history":[
				{
					"date":"2021-06-22T09:20:42+08:00",
					"summary":"Initial",
					"number":"1.0.0"
				},
				{
					"date":"2024-10-31T09:20:42+08:00",
					"summary":"final",
					"number":"2.0.0"
				}
			],
			"generator":{
				"date":"2024-10-31T09:20:42+08:00",
				"engine":{
					"name":"openEuler CSAF Tool V1.0"
				}
			},
			"current_release_date":"2024-10-31T09:20:42+08:00",
			"id":"openEuler-SA-2021-1235",
			"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-SP1"
									},
									"product_id":"openEuler-20.03-LTS-SP1",
									"name":"openEuler-20.03-LTS-SP1"
								},
								"name":"openEuler-20.03-LTS-SP1",
								"category":"product_version"
							}
						],
						"category":"product_name"
					},
					{
						"name":"aarch64",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-debuginfo-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
									"name":"libX11-debuginfo-1.6.9-5.oe1.aarch64.rpm"
								},
								"name":"libX11-debuginfo-1.6.9-5.oe1.aarch64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-devel-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
									"name":"libX11-devel-1.6.9-5.oe1.aarch64.rpm"
								},
								"name":"libX11-devel-1.6.9-5.oe1.aarch64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-debugsource-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
									"name":"libX11-debugsource-1.6.9-5.oe1.aarch64.rpm"
								},
								"name":"libX11-debugsource-1.6.9-5.oe1.aarch64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
									"name":"libX11-1.6.9-5.oe1.aarch64.rpm"
								},
								"name":"libX11-1.6.9-5.oe1.aarch64.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"noarch",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-help-1.6.9-5.oe1.noarch.rpm(20.03-LTS-SP1)",
									"name":"libX11-help-1.6.9-5.oe1.noarch.rpm"
								},
								"name":"libX11-help-1.6.9-5.oe1.noarch.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"src",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-1.6.9-5.oe1.src.rpm(20.03-LTS-SP1)",
									"name":"libX11-1.6.9-5.oe1.src.rpm"
								},
								"name":"libX11-1.6.9-5.oe1.src.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"x86_64",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-devel-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
									"name":"libX11-devel-1.6.9-5.oe1.x86_64.rpm"
								},
								"name":"libX11-devel-1.6.9-5.oe1.x86_64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-debugsource-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
									"name":"libX11-debugsource-1.6.9-5.oe1.x86_64.rpm"
								},
								"name":"libX11-debugsource-1.6.9-5.oe1.x86_64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
									"name":"libX11-1.6.9-5.oe1.x86_64.rpm"
								},
								"name":"libX11-1.6.9-5.oe1.x86_64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"libX11-debuginfo-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
									"name":"libX11-debuginfo-1.6.9-5.oe1.x86_64.rpm"
								},
								"name":"libX11-debuginfo-1.6.9-5.oe1.x86_64.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					}
				]
			}
		],
		"relationships":[
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-debuginfo-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.aarch64",
					"name":"libX11-debuginfo-1.6.9-5.oe1.aarch64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-devel-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.aarch64",
					"name":"libX11-devel-1.6.9-5.oe1.aarch64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-debugsource-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.aarch64",
					"name":"libX11-debugsource-1.6.9-5.oe1.aarch64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-1.6.9-5.oe1.aarch64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.aarch64",
					"name":"libX11-1.6.9-5.oe1.aarch64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-help-1.6.9-5.oe1.noarch.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-help-1.6.9-5.oe1.noarch",
					"name":"libX11-help-1.6.9-5.oe1.noarch as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-1.6.9-5.oe1.src.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.src",
					"name":"libX11-1.6.9-5.oe1.src as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-devel-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.x86_64",
					"name":"libX11-devel-1.6.9-5.oe1.x86_64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-debugsource-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.x86_64",
					"name":"libX11-debugsource-1.6.9-5.oe1.x86_64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.x86_64",
					"name":"libX11-1.6.9-5.oe1.x86_64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"libX11-debuginfo-1.6.9-5.oe1.x86_64.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.x86_64",
					"name":"libX11-debuginfo-1.6.9-5.oe1.x86_64 as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			}
		]
	},
	"vulnerabilities":[
		{
			"cve":"CVE-2021-31535",
			"notes":[
				{
					"text":"LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session.",
					"category":"description",
					"title":"Vulnerability Description"
				}
			],
			"product_status":{
				"fixed":[
					"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.aarch64",
					"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.aarch64",
					"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.aarch64",
					"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.aarch64",
					"openEuler-20.03-LTS-SP1:libX11-help-1.6.9-5.oe1.noarch",
					"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.src",
					"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.x86_64",
					"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.x86_64",
					"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.x86_64",
					"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.x86_64"
				]
			},
			"remediations":[
				{
					"product_ids":[
						"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-help-1.6.9-5.oe1.noarch",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.src",
						"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.x86_64"
					],
					"details":"libX11 security update",
					"category":"vendor_fix",
					"url":"https://openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1235"
				}
			],
			"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-SP1:libX11-debuginfo-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.aarch64",
						"openEuler-20.03-LTS-SP1:libX11-help-1.6.9-5.oe1.noarch",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.src",
						"openEuler-20.03-LTS-SP1:libX11-devel-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-debugsource-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-1.6.9-5.oe1.x86_64",
						"openEuler-20.03-LTS-SP1:libX11-debuginfo-1.6.9-5.oe1.x86_64"
					]
				}
			],
			"threats":[
				{
					"details":"Critical",
					"category":"impact"
				}
			],
			"title":"CVE-2021-31535"
		}
	]
}