Closed schildbach closed 4 years ago
I don't think either of those CVEs should cause your compiler to be killed. perhaps it's just running out of memory?
In any case, we don't ship libxml; that is the responsibility of the base OS: Alpine Linux in the case of this docker build.
Well, don't you inherit this responsibility by depending on some base OS version? So my question becomes: has the base OS version been updated to a version that doesn't come with the mentioned security flaws?
I thought your question was about why your docker build fails? If it's not, then... your report is very confusing.
Our stock docker images use libxml 2.9.9, which predates both the advisories you mention. Indeed, CVE-2020-7595 applies to libxml 2.9.10, which is the latest release of libxml2.
To my knowledge, neither of the problems are exploitable in synapse. If you know otherwise, I would urge you to follow our security disclosure policy by reporting it to security@matrix.org
rather than discussing it further in an open forum.
No, it's fine. I was just a bit puzzled by your "security is responsibility of others" type of response. I'll close this and check with the next RC if the failure might have been caused by OOM.
(for the record: we're bumping alpine linux to 3.11 for the 1.10.0 release: #6897)
On an Ubuntu 18.04.4 LTS with the standard docker.io package installed, I ran
docker build -t my/synapse -f docker/Dockerfile .
and I got this:
Since libxml is mentioned in the last messages, I wonder if libxml has been updated to the fixed version? See CVE-2019-19956, CVE-2020-7595.