Description
The server in Bcfg2 1.1.2 and earlier, and 1.2 prerelease, allows remote attackers to execute arbitrary commands via shell metacharacters in data received from a client.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | bcfg2 | 1.0.1-3+squeeze1 | DSA-2302-1 |
| Debian 5.0 | bcfg2 | 0.9.5.7-1.1+lenny1 | DSA-2302-1 |
Advisories 1
- DSA-2302-1 bcfg2 - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/solj/bcfg2/commit/f4a35efec1b6a1e54d61cf1b8bfc83dd1d89eef7
- https://bugzilla.redhat.com/show_bug.cgi?id=736279
- 49414 vdb-entry
- 46042 third-party-advisory
- DSA-2302 vendor-advisory
- FEDORA-2011-12303 vendor-advisory
- 45926 third-party-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640028
- [bcfg-dev] 20110816 Security flaw in 1.1.x; testers wanted mailing-list
- 45807 third-party-advisory
- [oss-security] 20110906 Re: CVE request for bcfg2 (remote root) mailing-list
- FEDORA-2011-12298 vendor-advisory
- https://github.com/solj/bcfg2/commit/46795ae451ca6ede55a0edeb726978aef4684b53
- [oss-security] 20110901 CVE request for bcfg2 (remote root) mailing-list