Skip to content
pkgseek
Back to CVE search

CVE-2025-43857

medium · 6.5

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a "literal" byte count, which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that …

First indexed 4/28/2025View on NVD

Advisory Facts

Markdown

CVE-2025-43857 is rated MEDIUM (6.5), with 35 indexed affected package builds across 3 distributions.

Severity / Score
MEDIUM (6.5)
Affected builds
35
Affected distros
3
Distros with fixed_in
Alibaba Cloud Linux
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2025-43857?locale=en

Distribution-aware status

3
Distributions
35
Package/release records
3
Vendor advisories
23
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

35 affected package/release combinations
ruby
4x86_64
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby
ruby-bundled-gems
4x86_64
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-bundled-gems
ruby-default-gems
4noarch
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-default-gems
ruby-devel
4x86_64
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-devel
ruby-doc
4noarch
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-doc
rubygem-bigdecimal
4x86_64
3.1.5-1.alnx4Fixed in 3.1.5-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bigdecimal
rubygem-bundler
4noarch
2.5.22-1.alnx4Fixed in 2.5.22-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bundler
rubygem-io-console
4x86_64
0.7.1-1.alnx4Fixed in 0.7.1-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-io-console
rubygem-irb
4noarch
1.13.1-1.alnx4Fixed in 1.13.1-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-irb
rubygem-json
4x86_64
2.7.2-1.alnx4Fixed in 2.7.2-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-json
rubygem-minitest
4noarch
5.20.0-1.alnx4Fixed in 5.20.0-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-minitest
rubygem-power_assert
4noarch
2.0.3-1.alnx4Fixed in 2.0.3-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-power_assert
rubygem-psych
4x86_64
5.1.2-1.alnx4Fixed in 5.1.2-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-psych
rubygem-rake
4noarch
13.1.0-1.alnx4Fixed in 13.1.0-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rake
rubygem-rbs
4x86_64
3.4.0-1.alnx4Fixed in 3.4.0-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rbs
rubygem-rdoc
4noarch
6.6.3.1-1.alnx4Fixed in 6.6.3.1-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rdoc
rubygem-rexml
4noarch
3.3.9-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rexml
rubygem-rss
4noarch
0.3.1-1.alnx4Fixed in 0.3.1-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rss
rubygems
4noarch
3.5.22-1.alnx4Fixed in 3.5.22-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems
rubygems-devel
4noarch
3.5.22-1.alnx4Fixed in 3.5.22-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems-devel
rubygem-test-unit
4noarch
3.6.1-1.alnx4Fixed in 3.6.1-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-test-unit
rubygem-typeprof
4noarch
0.21.9-1.alnx4Fixed in 0.21.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-typeprof
ruby-libs
4x86_64
3.3.8-1.alnx4Fixed in 3.3.9-5.alnx4
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-libs

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.