golang-github-go-viper-mapstructure — security advisory
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. OpenBao before v2.3.0 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. This issue has been fixed in OpenBao v2.3.0 and later. Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
- Products
- golang-github-go-viper-mapstructure
- Affected versions
- 2.2.1-1, 2.2.1-2, 2.4.0-1, 2.5.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2025-52893
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:33 UTC · Revision 1
Source evidence
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. OpenBao before v2.3.0 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. This issue has been fixed in OpenBao v2.3.0 and later. Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
osv:UBUNTU-CVE-2025-52893
golang-github-go-viper-mapstructure
Fixed versions: Not specified
golang-github-go-viper-mapstructure
Fixed versions: Not specified
golang-github-go-viper-mapstructure
Fixed versions: Not specified
Complete source record
{
"id": "d88ea8d615dbb631a9ed9f08283c5972e47c6abb7c89ef3083119b949b18165c",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-52893",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-52893",
"summary": "OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. OpenBao before v2.3.0 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. This issue has been fixed in OpenBao v2.3.0 and later. Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.",
"evidence": "osv:UBUNTU-CVE-2025-52893",
"products": [
{
"name": {
"value": "golang-github-go-viper-mapstructure",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-go-viper-mapstructure",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.5.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-go-viper-mapstructure",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.2.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.4.0-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-52893",
"aliases": [
"UBUNTU-CVE-2025-52893"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-viper-mapstructure",
"purl": "pkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.2.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52893.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-viper-mapstructure-dev",
"binary_version": "2.2.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-viper-mapstructure",
"purl": "pkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.4.0-1",
"2.5.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52893.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-viper-mapstructure-dev",
"binary_version": "2.5.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-viper-mapstructure",
"purl": "pkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.2.1-1",
"2.2.1-2",
"2.4.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52893.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-viper-mapstructure-dev",
"binary_version": "2.4.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:07.235651517Z",
"provider": "osv",
"upstream": [
"CVE-2025-52893"
],
"references": [
"https://ubuntu.com/security/CVE-2025-52893",
"https://www.cve.org/CVERecord?id=CVE-2025-52893",
"https://discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-when-processing-malformed-data-with-the-kv-v2-plugin/74717",
"https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a",
"https://github.com/go-viper/mapstructure/pull/105",
"https://github.com/go-viper/mapstructure/releases/tag/v2.3.0",
"https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30",
"https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq"
]
},
"related_cves": [
{
"value": "CVE-2025-52893",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356748,
"published_at": "2025-06-25T17:15:00+00:00"
}