...
Do the committers and PTL know how to design secure software? Do the reviewers of OJSI tickets know secure design?
Toggle cloak |
---|
Cloak |
---|
This requires understanding the following design principles, including the 8 principles from Saltzer and Schroeder: This requires understanding secure design principles, including the 8 principles from Saltzer and Schroeder:
This document highlights a core set of high-level secure software development practices:
[know_secure_design P] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The project must implement secure design principles (from 'know secure design'). For example, the project results should have fail-safe defaults (access decisions should deny by default, and projects' installation should be secure by default). They should also have complete mediation (every access that might be limited must be checked for authority and be non-bypassable). Note that in some cases principles will conflict, in which case a choice must be made (e.g., many mechanisms can make things more complex, contravening 'economy of mechanism' / keep it simple). Implement secure design builds on the question above of "know secure design". For ONAP, the committers must all know the secure design principles and reviewing the code must always includes looking at it from the point of review of the security principles. It's crucial to document the secure design practices and software design/coding standards and code review. This NIST SSDF document provides additional details: [implement_secure_design S] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
Examples of common kinds of errors that lead to vulnerabilities in this kind of software include SQL injection, OS injection, classic buffer overflow, cross-site scripting, missing authentication, and missing authorization. See the CWE/SANS top 25 or OWASP Top 10 for commonly used lists. Many books and courses are available to help you understand how to develop more secure software and discuss common implementation errors that lead to vulnerabilities. For example, the Secure Software Development Fundamentals course is a free set of three courses that explain how to develop more secure software (it's free if you audit it; for an extra fee you can earn a certificate to prove you learned the material). [know_common_errors P] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The public repositories MUST NOT leak a valid private credential (e.g., a working password or private key) that is intended to limit public access. [no_leaked_credentials P] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
A software architecture explains a program's fundamental structures, i.e., the program's major components, the relationships among them, and the key properties of these components and relationships. The architecture would often be part of the documents that describe what the software does and its interfaces. [documentation_architecture S] |
Your Answer-Please Describe |
---|
...
Cloak |
---|
These are the security requirements that the software is intended to meet. There needs to be:
[documentation_security S] |
Your Answer-Please Describe |
---|
...
Cloak |
---|
For ONAP, somewhere in the project's description, there needs to be (as indicated above):
This may be combined with the "documentation security" document. [assurance_case S] |
Your Answer-Please Describe |
---|
...
Cloak |
---|
All critical vulnerabilities should be fixed rapidly after they are reported. [vulnerabilities_critical_fixed P] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
There MUST be no unpatched vulnerabilities of medium or higher severity that have been publicly known for more than 60 days. [vulnerabilities_fixed_60_days P] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
The project results MUST check all inputs from potentially untrusted sources to ensure they are valid (an *allowlist*), and reject invalid inputs, if there are any restrictions on the data at all. [input_validation S] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
If you compile code into binary executables, do you use
If your project provides a web user interface:
If your project generates email:
If your project uses a database:
[hardening SG] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
If the software produced by the project is an application or library, and its primary purpose is not to implement cryptography, then it SHOULD only call on software specifically designed to implement cryptographic functions; it SHOULD NOT re-implement its own. [crypto_call P] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
The security mechanisms within the software produced by the project MUST generate all cryptographic keys and nonces using a cryptographically secure random number generator, and MUST NOT do so using generators that are cryptographically insecure. A cryptographically secure random number generator may be a hardware random number generator ( For additional guidance and examples about what kind of specifications to rate a random bit generator (RBG) please review:
[crypto_random P] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The default security mechanisms within the software produced by the project SHOULD NOT depend on cryptographic algorithms or modes with known serious weaknesses (e.g., the SHA-1 cryptographic hash algorithms, or the CBC mode in SSH). [crypto_weaknesses PS] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
The default security mechanisms within the software produced by the project MUST NOT depend on broken cryptographic algorithms (e.g., MD4, MD5, single DES, RC4, Dual_EC_DRBG), or use cipher modes that are inappropriate to the context, unless they are necessary to implement an interoperable protocol (where the protocol implemented is the most recent version of that standard broadly supported by the network ecosystem, that ecosystem requires the use of such an algorithm or mode, and that ecosystem does not offer any more secure alternative). The documentation MUST describe any relevant security risks and any known mitigations if these broken algorithms or modes are necessary for an interoperable protocol. [crypto_working P] |
Your Answer-Please Explain |
---|
...
Cloak |
---|
The security mechanisms within the software produced by the project MUST use default key-lengths that at least meet the NIST minimum requirements through the year 2030 (as stated in 2012). It MUST be possible to configure the software so that smaller key-lengths are completely disabled. [crypto_keylength P] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The project SHOULD support multiple cryptographic algorithms, so users can quickly switch if one is broken. Common symmetric key algorithms include AES, Twofish, and Serpent. Common cryptographic hash algorithm alternatives include SHA-2 (including SHA-224, SHA-256, SHA-384 AND SHA-512) and SHA-3. [crypto_algorithm_agility S] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The software produced by the project MUST, if it supports TLS, perform TLS certificate verification by default when using TLS, including on sub-resources. Note: One aspect of this is that, if something is missing that prevents the TLS from working, the software must NOT fall back to insecure mode but must instead prevent communication. If an insecure mode is allowed, it MUST be explicitly configured. [crypto_certificate_verification S] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The project MUST support storing authentication credentials (such as passwords and dynamic tokens) and private cryptographic keys in files that are separate from other information (such as configuration files, databases, and logs), and permit users to update and replace them without code recompilation. [crypto_credential_agility S] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The software produced by the project MUST, if it supports or uses TLS, support at least TLS version 1.2. Note that the predecessor of TLS was called SSL. [crypto_tls12 SG] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The software produced by the project MUST support secure protocols for all of its network communications, such as SSHv2 or later, TLS1.2 or later (HTTPS), IPsec, SFTP, and SNMPv3. Insecure protocols such as FTP, HTTP, telnet, SSLv3 or earlier, and SSHv1 MUST be disabled by default, and only enabled if the user specifically configures it. [crypto_used_network SG] |
Your Answers-Please Explain |
---|
...
Cloak |
---|
The software produced by the project MUST, if it supports TLS, perform certificate verification before sending HTTP headers with private information (such as secure cookies). [crypto_verification_private S] |
Your Answers-Please Explain |
---|
...