VYPR
Moderate severityNVD Advisory· Published Jun 25, 2025· Updated Jun 25, 2025

OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data

CVE-2025-52893

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/openbao/openbao/sdk/v2Go
< 2.3.02.3.0

Affected products

1

Patches

2
cf5e920badbf

Add changelog entry for sdk/framework vulnerability (#1495)

https://github.com/openbao/openbaoAlexander ScheelJun 25, 2025via ghsa
1 file changed · +3 0
  • changelog/1495.txt+3 0 added
    @@ -0,0 +1,3 @@
    +```release-note:security
    +sdk/framework: prevent additional information disclosure on invalid request. CVE-2025-52893.
    +```
    
ed3f92181528

feat: remove value from error messages

https://github.com/go-viper/mapstructureMark Sagi-KazarJun 16, 2025via ghsa
2 files changed · +7 8
  • errors.go+2 3 modified
    @@ -53,7 +53,7 @@ type ParseError struct {
     }
     
     func (e *ParseError) Error() string {
    -	return fmt.Sprintf("cannot parse '%s' as '%s': %s", e.Value, e.Expected.Type(), e.Err)
    +	return fmt.Sprintf("cannot parse value as '%s': %s", e.Expected.Type(), e.Err)
     }
     
     func (*ParseError) mapstructure() {}
    @@ -67,10 +67,9 @@ type UnconvertibleTypeError struct {
     
     func (e *UnconvertibleTypeError) Error() string {
     	return fmt.Sprintf(
    -		"expected type '%s', got unconvertible type '%s', value: '%v'",
    +		"expected type '%s', got unconvertible type '%s'",
     		e.Expected.Type(),
     		reflect.TypeOf(e.Value),
    -		e.Value,
     	)
     }
     
    
  • mapstructure_examples_test.go+5 5 modified
    @@ -65,11 +65,11 @@ func ExampleDecode_errors() {
     	// Output:
     	// decoding failed due to the following error(s):
     	//
    -	// 'Name' expected type 'string', got unconvertible type 'int', value: '123'
    -	// 'Age' expected type 'int', got unconvertible type 'string', value: 'bad value'
    -	// 'Emails[0]' expected type 'string', got unconvertible type 'int', value: '1'
    -	// 'Emails[1]' expected type 'string', got unconvertible type 'int', value: '2'
    -	// 'Emails[2]' expected type 'string', got unconvertible type 'int', value: '3'
    +	// 'Name' expected type 'string', got unconvertible type 'int'
    +	// 'Age' expected type 'int', got unconvertible type 'string'
    +	// 'Emails[0]' expected type 'string', got unconvertible type 'int'
    +	// 'Emails[1]' expected type 'string', got unconvertible type 'int'
    +	// 'Emails[2]' expected type 'string', got unconvertible type 'int'
     }
     
     func ExampleDecode_metadata() {
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

9

News mentions

0

No linked articles in our index yet.