{
	"document":{
		"aggregate_severity":{
			"namespace":"https://nvd.nist.gov/vuln-metrics/cvss",
			"text":"High"
		},
		"category":"csaf_vex",
		"csaf_version":"2.0",
		"distribution":{
			"tlp":{
				"label":"WHITE",
				"url":"https:/www.first.org/tlp/"
			}
		},
		"lang":"en",
		"notes":[
			{
				"text":"rubygem-addressable security update",
				"category":"general",
				"title":"Synopsis"
			},
			{
				"text":"An update for rubygem-addressable is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.",
				"category":"general",
				"title":"Summary"
			},
			{
				"text":"Addressable is a replacement for the URI implementation that is part of Ruby's standard library. It more closely conforms to the relevant RFCs and adds support for URI and URL templates.\n\nSecurity Fix(es):\n\nAddressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability exists after version 2.3.0 through version 2.7.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. The vulnerability is patched in version 2.8.0. As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking.(CVE-2021-32740)",
				"category":"general",
				"title":"Description"
			},
			{
				"text":"An update for rubygem-addressable is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.\n\nopenEuler Security has rated this update as having a security impact of high. 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":"High",
				"category":"general",
				"title":"Severity"
			},
			{
				"text":"rubygem-addressable",
				"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-1278",
				"category":"self",
				"url":"https://openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1278"
			},
			{
				"summary":"CVE-2021-32740",
				"category":"self",
				"url":"https://openeuler.org/en/security/cve/detail?cveId=CVE-2021-32740&packageName=rubygem-addressable"
			},
			{
				"summary":"nvd cve",
				"category":"external",
				"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32740"
			},
			{
				"summary":"openEuler-SA-2021-1278 vex file",
				"category":"self",
				"url":"https://repo.openeuler.org/security/data/csaf/advisories/2021/csaf-openeuler-sa-2021-1278.json"
			}
		],
		"title":"An update for rubygem-addressable is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2",
		"tracking":{
			"initial_release_date":"2021-07-24T09:21:20+08:00",
			"revision_history":[
				{
					"date":"2021-07-24T09:21:20+08:00",
					"summary":"Initial",
					"number":"1.0.0"
				},
				{
					"date":"2024-10-31T09:21:20+08:00",
					"summary":"final",
					"number":"2.0.0"
				}
			],
			"generator":{
				"date":"2024-10-31T09:21:20+08:00",
				"engine":{
					"name":"openEuler CSAF Tool V1.0"
				}
			},
			"current_release_date":"2024-10-31T09:21:20+08:00",
			"id":"openEuler-SA-2021-1278",
			"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"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP2"
									},
									"product_id":"openEuler-20.03-LTS-SP2",
									"name":"openEuler-20.03-LTS-SP2"
								},
								"name":"openEuler-20.03-LTS-SP2",
								"category":"product_version"
							}
						],
						"category":"product_name"
					},
					{
						"name":"noarch",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP1)",
									"name":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm"
								},
								"name":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP1"
									},
									"product_id":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP1)",
									"name":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm"
								},
								"name":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP2"
									},
									"product_id":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP2)",
									"name":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm"
								},
								"name":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP2"
									},
									"product_id":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP2)",
									"name":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm"
								},
								"name":"rubygem-addressable-2.5.2-2.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":"rubygem-addressable-2.5.2-2.oe1.src.rpm(20.03-LTS-SP1)",
									"name":"rubygem-addressable-2.5.2-2.oe1.src.rpm"
								},
								"name":"rubygem-addressable-2.5.2-2.oe1.src.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP2"
									},
									"product_id":"rubygem-addressable-2.5.2-2.oe1.src.rpm(20.03-LTS-SP2)",
									"name":"rubygem-addressable-2.5.2-2.oe1.src.rpm"
								},
								"name":"rubygem-addressable-2.5.2-2.oe1.src.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					}
				]
			}
		],
		"relationships":[
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
					"name":"rubygem-addressable-doc-2.5.2-2.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":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.noarch",
					"name":"rubygem-addressable-2.5.2-2.oe1.noarch as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP2",
				"product_reference":"rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP2)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP2:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
					"name":"rubygem-addressable-doc-2.5.2-2.oe1.noarch as a component of openEuler-20.03-LTS-SP2"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP2",
				"product_reference":"rubygem-addressable-2.5.2-2.oe1.noarch.rpm(20.03-LTS-SP2)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.noarch",
					"name":"rubygem-addressable-2.5.2-2.oe1.noarch as a component of openEuler-20.03-LTS-SP2"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP1",
				"product_reference":"rubygem-addressable-2.5.2-2.oe1.src.rpm(20.03-LTS-SP1)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.src",
					"name":"rubygem-addressable-2.5.2-2.oe1.src as a component of openEuler-20.03-LTS-SP1"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP2",
				"product_reference":"rubygem-addressable-2.5.2-2.oe1.src.rpm(20.03-LTS-SP2)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.src",
					"name":"rubygem-addressable-2.5.2-2.oe1.src as a component of openEuler-20.03-LTS-SP2"
				},
				"category":"default_component_of"
			}
		]
	},
	"vulnerabilities":[
		{
			"cve":"CVE-2021-32740",
			"notes":[
				{
					"text":"Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability exists after version 2.3.0 through version 2.7.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. The vulnerability is patched in version 2.8.0. As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking.",
					"category":"description",
					"title":"Vulnerability Description"
				}
			],
			"product_status":{
				"fixed":[
					"openEuler-20.03-LTS-SP1:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
					"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.noarch",
					"openEuler-20.03-LTS-SP2:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
					"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.noarch",
					"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.src",
					"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.src"
				]
			},
			"remediations":[
				{
					"product_ids":[
						"openEuler-20.03-LTS-SP1:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.src",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.src"
					],
					"details":"rubygem-addressable security update",
					"category":"vendor_fix",
					"url":"https://openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1278"
				}
			],
			"scores":[
				{
					"cvss_v3":{
						"baseSeverity":"HIGH",
						"baseScore":7.5,
						"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
						"version":"3.1"
					},
					"products":[
						"openEuler-20.03-LTS-SP1:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-doc-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.noarch",
						"openEuler-20.03-LTS-SP1:rubygem-addressable-2.5.2-2.oe1.src",
						"openEuler-20.03-LTS-SP2:rubygem-addressable-2.5.2-2.oe1.src"
					]
				}
			],
			"threats":[
				{
					"details":"High",
					"category":"impact"
				}
			],
			"title":"CVE-2021-32740"
		}
	]
}