Security advisory
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-39147
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:19 UTC · Revision 1
Source evidence
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
osv:CVE-2021-39147
Complete source record
{
"id": "3f8ad835bc367a2935433c17388f2b7f05bf7245041c4f85a55dec6bad29a2b3",
"url": "https://osv.dev/vulnerability/CVE-2021-39147",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-39147",
"summary": "XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.",
"evidence": "osv:CVE-2021-39147",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-39147",
"aliases": [
"CVE-2021-39147",
"GHSA-h7v4-7xg3-hxcc"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/x-stream/xstream",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b9ad1c02724c2b1636a8794c8e1bcd630f46c0b3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.18"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"XSTREAM_1_4_17",
"XSTREAM_1_4_16",
"XSTREAM_1_4_15",
"XSTREAM_1_4_14",
"XSTREAM_1_4_13",
"XSTREAM_1_4_12",
"XSTREAM_1_4_11_1",
"XSTREAM_1_4_11",
"XSTREAM_1_4_10",
"XSTREAM_1_4_9",
"XSTREAM_1_4_5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39147.json"
}
}
],
"modified": "2026-10-20T10:53:52.722055977Z",
"provider": "osv",
"references": [
"https://github.com/x-stream/xstream/security/advisories/GHSA-h7v4-7xg3-hxcc",
"https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html",
"https://security.netapp.com/advisory/ntap-20210923-0003/",
"https://www.debian.org/security/2021/dsa-5004",
"https://www.oracle.com/security-alerts/cpujul2022.html",
"https://www.oracle.com/security-alerts/cpuapr2022.html",
"https://www.oracle.com/security-alerts/cpujan2022.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/",
"https://x-stream.github.io/CVE-2021-39147.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:business_activity_monitoring",
"extracted_events": [
{
"range": [
{
"introduced": "12.2.1.4.0"
},
{
"last_affected": "12.2.1.4.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:commerce_guided_search",
"extracted_events": [
{
"range": [
{
"introduced": "11.3.2"
},
{
"last_affected": "11.3.2"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:11.3:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_billing_and_revenue_management_elastic_charging_engine",
"extracted_events": [
{
"range": [
{
"introduced": "11.3"
},
{
"last_affected": "11.3"
},
{
"introduced": "12.0"
},
{
"last_affected": "12.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_automated_test_suite",
"extracted_events": [
{
"range": [
{
"introduced": "1.9.0"
},
{
"last_affected": "1.9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.10.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_binding_support_function",
"extracted_events": [
{
"range": [
{
"introduced": "1.10.0"
},
{
"last_affected": "1.10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_policy",
"extracted_events": [
{
"range": [
{
"introduced": "1.14.0"
},
{
"last_affected": "1.14.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_unified_inventory_management",
"extracted_events": [
{
"range": [
{
"introduced": "7.3.4"
},
{
"last_affected": "7.3.4"
},
{
"introduced": "7.3.5"
},
{
"last_affected": "7.3.5"
},
{
"introduced": "7.4.0"
},
{
"last_affected": "7.4.0"
},
{
"introduced": "7.4.1"
},
{
"last_affected": "7.4.1"
},
{
"introduced": "7.4.2"
},
{
"last_affected": "7.4.2"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:retail_xstore_point_of_service:20.0.1:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:retail_xstore_point_of_service",
"extracted_events": [
{
"range": [
{
"introduced": "16.0.6"
},
{
"last_affected": "16.0.6"
},
{
"introduced": "17.0.4"
},
{
"last_affected": "17.0.4"
},
{
"introduced": "18.0.3"
},
{
"last_affected": "18.0.3"
},
{
"introduced": "19.0.2"
},
{
"last_affected": "19.0.2"
},
{
"introduced": "20.0.1"
},
{
"last_affected": "20.0.1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:utilities_framework:4.2.0.2.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.2.0.3.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.3.0.1.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.3.0.6.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.4.0.0.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.4.0.2.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:utilities_framework:4.4.0.3.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:utilities_framework",
"extracted_events": [
{
"range": [
{
"introduced": "4.2.0.2.0"
},
{
"last_affected": "4.2.0.2.0"
},
{
"introduced": "4.2.0.3.0"
},
{
"last_affected": "4.2.0.3.0"
},
{
"introduced": "4.3.0.1.0"
},
{
"last_affected": "4.3.0.1.0"
},
{
"introduced": "4.3.0.6.0"
},
{
"last_affected": "4.3.0.6.0"
},
{
"introduced": "4.4.0.0.0"
},
{
"last_affected": "4.4.0.0.0"
},
{
"introduced": "4.4.0.2.0"
},
{
"last_affected": "4.4.0.2.0"
},
{
"introduced": "4.4.0.3.0"
},
{
"last_affected": "4.4.0.3.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:utilities_testing_accelerator",
"extracted_events": [
{
"range": [
{
"introduced": "6.0.0.1.1"
},
{
"last_affected": "6.0.0.1.1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:webcenter_portal",
"extracted_events": [
{
"range": [
{
"introduced": "12.2.1.3.0"
},
{
"last_affected": "12.2.1.3.0"
},
{
"introduced": "12.2.1.4.0"
},
{
"last_affected": "12.2.1.4.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-39147",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384718,
"published_at": "2021-08-23T18:15:12.563+00:00"
}