SB2021071205 - Multiple vulnerabilities in gRPC Swift
Published: July 12, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Input validation error (CVE-ID: CVE-2021-36153)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to incomplete internal state distinction flaw in the GRPCWebToHTTP2ServerCodec function. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
2) Input validation error (CVE-ID: CVE-2021-36154)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to uncontrolled recursion and stack consumption flaw in the HTTP2ToRawGRPCServerCodec function. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
3) Resource exhaustion (CVE-ID: CVE-2021-36155)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources within the LengthPrefixedMessageReader function. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35267
- https://github.com/grpc/grpc-swift/security/advisories/GHSA-2jx2-qcm4-rf9h
- https://github.com/grpc/grpc-swift/releases
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274
- https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw
- https://github.com/grpc/grpc-swift/security/advisories/GHSA-rxmj-hg9v-vp3p
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35303