CVE-2019-17596

7.5 HIGH

📋 TL;DR

A vulnerability in Go's crypto/dsa package causes a panic when processing network traffic containing invalid DSA public keys. This can lead to denial of service attacks against servers that verify client certificates or process DSA-signed traffic. Affects Go applications and services using DSA cryptography.

💻 Affected Systems

Products:
  • Go programming language
  • Applications built with Go using crypto/dsa
Versions: Go 1.12.x before 1.12.11, Go 1.13.x before 1.13.2
Operating Systems: All platforms running affected Go versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using DSA cryptography for certificate verification or signatures

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote denial of service causing service crashes and availability impact on internet-facing services

🟠

Likely Case

Service disruption through crafted network traffic causing panic and restart

🟢

If Mitigated

Limited impact with proper monitoring and automatic restart mechanisms

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires sending specially crafted network traffic to vulnerable services

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Go 1.12.11 or Go 1.13.2

Vendor Advisory: https://github.com/golang/go/issues/34960

Restart Required: Yes

Instructions:

1. Update Go installation to 1.12.11 or 1.13.2. 2. Recompile all Go applications with updated version. 3. Restart affected services.

🔧 Temporary Workarounds

Disable DSA certificate verification

all

Configure services to not use DSA certificates for client verification

Network filtering

all

Block or filter traffic containing DSA certificates at network perimeter

🧯 If You Can't Patch

  • Implement rate limiting and monitoring for service crashes
  • Use load balancers with health checks and automatic failover

🔍 How to Verify

Check if Vulnerable:

Check Go version with 'go version' command and verify if within affected range

Check Version:

go version

Verify Fix Applied:

Confirm Go version is 1.12.11+ or 1.13.2+ and test with known invalid DSA key

📡 Detection & Monitoring

Log Indicators:

  • Go panic logs mentioning crypto/dsa
  • Service crashes during TLS handshake

Network Indicators:

  • Unusual traffic patterns with DSA certificates
  • Repeated connection attempts to TLS services

SIEM Query:

source="application.log" AND "panic" AND "crypto/dsa"

🔗 References

📤 Share & Export