18.10.2016 Views

Drupal 7 Module Development

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Security<br />

• Send a detailed description of the problem, along with a patch if you were<br />

able to make one, to the <strong>Drupal</strong> Security Team at security@drupal.org.<br />

They coordinate all security-related matters for code hosted on drupal.org.<br />

If it's not one of our modules, they will coordinate with the maintainer of<br />

the module.<br />

• If it is one of our modules, let the security team review the problem and the<br />

patch. If they agree that it is a security hole, they will work with us to vet<br />

the patch or improve it and schedule a security release. It will be up to us<br />

to write a Security Advisory (SA) as well.<br />

• Security releases almost always come out on Wednesdays, so we wait until<br />

we get a go-ahead from the security team. When they say its clear to do so,<br />

we apply the patch to all affected releases of the module and create a new<br />

release. The security team will then publish the SA.<br />

• Did we mention don't panic?<br />

<strong>Drupal</strong> operates on a principle of full disclosure. When a security issue is discovered,<br />

it is kept secret until a fix is made available. Once a fix is made available, the full<br />

details of the security issue, including the code to fix it and what releases are<br />

affected, is published for the whole world to see. This is a standard security best<br />

practice, as on the one hand it minimizes the chances of a ne'er-do-well learning of<br />

the vulnerability before there is a fix available but on the other, once a fix is available,<br />

we make it as easy as possible for people to know that they need to upgrade their<br />

code in order to stay secure before an attacker can take advantage of it.<br />

For more information on how to handle security issues in <strong>Drupal</strong>, see:<br />

http://drupal.org/security-team<br />

Staying up to date<br />

So how do we keep a site up-to-date with the latest security fixes? There are two key<br />

ways to stay on top of security needs, and any site administrator should make use of<br />

both of them.<br />

First, all <strong>Drupal</strong> Security Advisories are announced on <strong>Drupal</strong>.org at the<br />

following site:<br />

http://drupal.org/security<br />

[ 380 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!