Vulnerability in golang - security update

golang Updated 02 Oct 2025

Summary

06/10/2017
N/A
Yes i
Unrated
Not published

DLA-1123-1: golang - security update. Affects golang versions < 2:1.0.2-1.1+deb7u1. Fixed in 2:1.0.2-1.1+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Go programming language, commonly known as golang, is an open-source programming language developed by Google. It is designed to be efficient, concise, and secure. Golang is widely used for building scalable and reliable applications. However, a security vulnerability has been discovered in the golang library that can lead to a denial-of-service (DoS) attack. This vulnerability allows an attacker to generate a MIME request that exhausts the server's file descriptors, causing it to run out of resources.

Vulnerability Detail

The vulnerability in golang arises from a flaw in the handling of MIME requests. By crafting a malicious MIME request, an attacker can overwhelm the server with a large number of file descriptors, leading to a DoS condition. This can result in the server becoming unresponsive or crashing, disrupting the availability of the affected application. The impact of this vulnerability can be severe, especially in scenarios where the server handles a high volume of requests.

How To Fix

Minimum fixed version

2:1.0.2-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is advisable to implement general security best practices such as limiting the maximum number of file descriptors that can be opened by the server, monitoring resource usage, and implementing rate limiting mechanisms to mitigate the impact of potential DoS attacks.

Conclusion

The golang programming language has been found to have a vulnerability that can lead to a denial-of-service condition. It is crucial to upgrade to the latest version of the golang package to mitigate this vulnerability. Failure to do so may result in service disruption and potential exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for golang →

Share this vulnerability

FAQ

The vulnerability can lead to a denial-of-service (DoS) condition, causing the affected server to become unresponsive or crash. This can result in service disruption and potential loss of availability for the affected application.

You can use the Vulert Playground at Vulert Scanner to check if your golang package is affected by this vulnerability. Simply upload your package manifest file, such as package-lock.json, and Vulert will analyze it for any known vulnerabilities.

There is no known exploit available for this vulnerability at the moment. However, it is crucial to apply the recommended security update to prevent any potential exploitation.

No, only golang version 2:1.0.2-1.1+deb7u1 and earlier are affected by this vulnerability. It is recommended to upgrade to the latest version to ensure the security of your application.

Firewall rules alone may not be sufficient to mitigate this vulnerability. While they can help in preventing certain types of attacks, the root cause of the vulnerability lies within the golang library itself. It is essential to apply the recommended security update to address the underlying issue.

Related vulnerabilities

Recent vulnerabilities recorded for golang.

How To Fix

Minimum fixed version

2:1.0.2-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback